ladybird/Userland/Libraries/LibWeb/Bindings
sin-ack 9121cc7cae LibWeb: Implement CanvasRenderingContext2D.measureText
This requires an implementation of the "text preparation algorithm" as
specified here:

html.spec.whatwg.org/multipage/canvas.html#text-preparation-algorithm

However, we're missing a lot of things such as the
CanvasTextDrawingStyles interface, so most of the algorithm was not
implemented. Additionally, we also are not able to use a LineBox like
the algorithm suggests, because our layouting infra is not up to the
task yet. The prepare_text function does nothing other than figuring out
the width of the given text and return glyphs with offsets at the
moment.
2022-01-04 22:41:07 +00:00
..
CSSNamespace.cpp LibWeb: Convert the CSS namespace object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
CSSNamespace.h LibWeb: Convert the CSS namespace object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
CSSRuleWrapperFactory.cpp LibWeb: Add the CSSStyleRule interface with some limited functionality 2021-09-30 00:00:55 +02:00
CSSRuleWrapperFactory.h LibWeb: Add the CSSStyleRule interface with some limited functionality 2021-09-30 00:00:55 +02:00
CSSStyleDeclarationWrapperCustom.cpp LibJS: Rename PropertyName to PropertyKey 2021-10-24 17:18:07 +02:00
EventListenerWrapper.cpp LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
EventListenerWrapper.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventTargetWrapperFactory.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventTargetWrapperFactory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventWrapperFactory.cpp LibWeb: Implement PromiseRejectionEvent 2021-10-11 13:30:17 +01:00
EventWrapperFactory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ExceptionOrUtils.h LibWeb: Convert throw_dom_exception_if_needed() to ThrowCompletionOr 2021-10-31 18:51:07 +01:00
IDLAbstractOperations.cpp LibWeb: Replace incorrect empty Optional return with ByteBuffer 2021-12-14 19:49:15 +00:00
IDLAbstractOperations.h LibWeb: Implement "get a copy of the bytes held by the buffer source" 2021-12-14 09:01:06 +01:00
ImageConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
ImageConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
LocationObject.cpp LibWeb: Convert the Location object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
LocationObject.h LibWeb: Convert the Location object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
MainThreadVM.cpp LibWeb: Give HTML::EventLoop a pointer to the JS::VM 2021-09-09 02:18:31 +02:00
MainThreadVM.h LibWeb: Add missing #include to MainThreadVM.h 2021-09-19 22:34:44 +02:00
NavigatorObject.cpp LibWeb: Convert the Navigator object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
NavigatorObject.h LibWeb: Convert the Navigator object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
NodeWrapperFactory.cpp AK: Rename downcast<T> => verify_cast<T> 2021-06-24 19:57:01 +02:00
NodeWrapperFactory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Replaceable.h LibWeb: Convert the Window object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
ScriptExecutionContext.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ScriptExecutionContext.h LibWeb: Replace ScriptExecutionContext::interpreter() with realm() 2021-09-19 15:39:40 +02:00
WindowObject.cpp LibJS: Remove Object::value_of() 2021-12-10 22:52:36 +00:00
WindowObject.h LibWeb: Convert the Window object to ThrowCompletionOr 2021-10-31 15:48:36 +01:00
WindowObjectHelper.h LibWeb: Implement CanvasRenderingContext2D.measureText 2022-01-04 22:41:07 +00:00
Wrappable.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Wrappable.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Wrapper.h LibJS: Put zombie cell tracking code behind a compile-time flag 2021-10-02 16:39:28 +02:00