1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00
serenity/Userland/Libraries/LibWeb
Timothy Flynn 5ec76331e8 LibWeb: Invoke our internal attribute change handler from Attr
Currently, every public DOM::Element method which changes an attribute
fires this handler itself. This was missed in commit 720f7ba, so any
user of that API would not fire the internal handler.

To fix this, and prevent any missing invocations in the future, invoke
the handler from from Attr::handle_attribute_changes. This method is
reached for all attribute changes, including adding/removing attributes.
This ensures the handler will always be fired, and reduces the footprint
of this ad-hoc behavior.

Note that our ad-hoc handler is not the "attribute change steps" noted
by the spec. Those are overridden only by a couple of specific elements,
e.g. HTMLSlotElement. However, we could easily make our ad-hoc handler
hook into those steps in the future.
2023-09-02 13:55:32 -04:00
..
ARIA Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Bindings LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
CSS LibWeb: Never blockify HTML <br> elements 2023-09-01 12:45:38 +02:00
DOM LibWeb: Invoke our internal attribute change handler from Attr 2023-09-02 13:55:32 -04:00
DOMParsing LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Encoding LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Fetch LibWeb/Fetch: Use parsed referrer's origin in Request::construct_impl 2023-08-27 15:44:21 -04:00
FileAPI LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Geometry LibWeb: Fix DOMMatrix Gfx::Matrix row/column ordering 2023-09-01 20:58:13 +02:00
HighResolutionTime LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
HTML LibWeb: Handle immutable state for HTMLInputElement pickers 2023-09-02 15:53:33 +02:00
Infra LibJS: Make PrimitiveString::utf8_string() infallible 2023-08-09 17:09:16 +02:00
Internals LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
IntersectionObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Layout LibWeb: Consolidate consecutive inlines in a single anonymous flex item 2023-09-01 12:45:38 +02:00
Loader LibWeb: Remove "LibWeb+LibJS/1.0" from the default User-Agent string 2023-08-24 07:14:51 +02:00
MathML LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
MimeSniff Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
NavigationTiming LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Page LibWeb: Partially implement MouseEvent.movementX/movementY 2023-08-30 10:21:30 +02:00
Painting LibWeb: Don't convert to floating point in CSS::EdgeRect 2023-09-01 09:40:14 +02:00
PerformanceTimeline LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform LibWeb: Update the audio timestamp every 50 ms instead of every 10 ms 2023-08-29 11:31:10 +02:00
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
ResizeObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Port Range interface from DeprecatedString to String 2023-08-29 10:05:02 +02:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb: Implement releaseLock interface for ReadableStreamBYOBReader 2023-08-31 19:28:56 +02:00
SVG LibWeb: Remove exceptions from DOMPoint because allocate is unfailable 2023-09-01 20:58:13 +02:00
UIEvents LibWeb: Partially implement MouseEvent.movementX/movementY 2023-08-30 10:21:30 +02:00
URL AK: Port percent_encode_after_encoding to String 2023-08-31 11:02:18 +02:00
UserTiming LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
WebAssembly LibWasm+LibWeb: Parse and validate all Wasm SIMD instructions 2023-08-21 13:39:32 +03:30
WebAudio LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebDriver LibWeb: Add missing promise rejection in execute_async_script 2023-08-21 13:22:04 -06:00
WebGL LibWeb: Port WebGLRenderingContext IDL from DeprecatedString to String 2023-08-29 10:05:02 +02:00
WebIDL LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebSockets AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
XHR LibWeb: Move XHR::FormDataEntry to its own header 2023-08-29 09:39:57 +02:00
XML LibWeb: Remove outdated old_queue_global_event_with_document 2023-08-28 12:57:05 +02:00
CMakeLists.txt LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Dump.cpp LibWeb: Parse src: local(...) in CSS @font-face rules 2023-08-25 11:51:28 +02:00
Dump.h LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
FontCache.cpp LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
FontCache.h LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
Forward.h LibWeb: Add DOMPoint matrixTransform and DOMMatrix transformPoint 2023-09-01 20:58:13 +02:00
idl_files.cmake LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Namespace.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
Namespace.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
PixelUnits.cpp LibWeb: Inline and constexpr most PixelUnits methods 2023-08-05 20:03:09 +02:00
PixelUnits.h LibWeb: Add a CSSPixelFraction class to allow comparison of fractions 2023-08-30 20:36:27 +02:00
TreeNode.h LibWeb: Remove all the unused functions from TreeNode 2023-08-20 05:02:59 +02:00