1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Userland/Libraries/LibWeb
Timothy Flynn a17074422e LibWeb: Reset form association when any element with an ID changes
When an element with an ID is added to or removed from the DOM, or if
an ID is added, removed, or changed, then we must reset the form owner
of all form-associated elements who have a form attribute.

We do this in 2 steps, using the DOM document as the messenger to handle
these changes:

1. All form-associated elements with a form attribute are stored on the
   document. If the form attribute is removed, the element is removed
   from that list as well.

2. When a DOM element with an ID undergoes any of the aforementioned
   changes, it notifies the document of the change. The document then
   forwards that change to the stored form-associated elements.
2024-02-03 15:30:16 -07:00
..
Animations LibWeb: Format all .idl files to use four space indentation 2024-01-18 14:00:06 +01:00
ARIA LibWeb: Return correct RoleType for composite ARIA role 2024-01-27 14:52:41 -05:00
Bindings LibWeb: Exclude [Global] interfaces from legacy platform object methods 2024-01-19 09:02:00 +01:00
Clipboard LibWeb: Format all .idl files to use four space indentation 2024-01-18 14:00:06 +01:00
Cookie LibWeb: Fail to parse cookie date when date does not exist 2024-01-07 08:01:58 -05:00
Crypto LibWeb: Implement import_key for PBKDF2 2024-01-23 14:07:06 -07:00
CSS LibWeb: Support x and y attributes on nested SVGs 2024-01-29 10:01:10 +00:00
DOM LibWeb: Reset form association when any element with an ID changes 2024-02-03 15:30:16 -07:00
DOMParsing LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Encoding LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Fetch LibWeb: Use the stream teeing methods for cloning Fetch response bodies 2024-01-29 07:21:59 +01:00
FileAPI LibWeb: Delete LegacyPlatformObject and move behavior to PlatformObject 2024-01-12 09:11:18 +01:00
Geometry LibWeb: Delete LegacyPlatformObject and move behavior to PlatformObject 2024-01-12 09:11:18 +01:00
HighResolutionTime LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
HTML LibWeb: Reset form association when any element with an ID changes 2024-02-03 15:30:16 -07:00
Infra LibWeb: Don't crash on FormData.append() with emoji in name 2023-12-04 00:04:04 +01:00
Internals LibWeb: Ensure scroll offsets and clip rects updated before hit-testing 2024-01-30 11:22:22 +01:00
IntersectionObserver LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Layout LibWeb: Fix invalidation of CSS properties that do not affect layout 2024-02-03 09:28:03 +01:00
Loader Ladybird+LibWeb+WebContent: Port the did_request_cookie IPC to String 2024-01-26 20:22:39 +01:00
MathML LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
MimeSniff LibWeb/MimeSniff: Add non-standard text or binary context sniffing 2024-02-02 14:34:17 -05:00
NavigationTiming LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Page LibWeb: Don't update input text if Ctrl or Alt are pressed 2024-02-03 14:07:37 -05:00
Painting LibWeb: Do not add CSS transforms into clip rect in PaintableWithLines 2024-02-03 20:05:09 +01:00
PerformanceTimeline LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
ResizeObserver LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb: Implement ReadableStreamBYOBRequest.respondWithNewView 2024-01-29 17:10:56 -05:00
SVG LibWeb: Support x and y attributes on nested SVGs 2024-01-29 10:01:10 +00:00
UIEvents LibWeb: Add MouseEvent JavaScript constructor 2024-01-20 08:57:37 +01:00
URL Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
UserTiming LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
WebAssembly LibJS+LibWeb: Implement resizable ArrayBuffer support for TypedArray 2023-12-26 11:16:10 +01:00
WebAudio LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
WebDriver AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
WebGL LibAccelGfx+LibWeb+WebContent: Handle OpenGL Context init errors 2024-01-24 19:43:51 +01:00
WebIDL LibWeb: Store Promise::wait_for_all state in a JS-heap allocated object 2024-01-19 11:47:59 +01:00
WebSockets Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Worker LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
XHR Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
XLink LibWeb: Add Web::XLink::AttributeNames 2023-11-05 11:16:16 +00:00
XML Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CMakeLists.txt LibWeb: Add SVGSVGElement.viewBox attribute 2024-01-25 08:23:41 +01:00
Dump.cpp LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
Dump.h LibWeb+WebContent: Add option to dump session history of a traversable 2023-09-16 16:53:32 +02:00
Forward.h LibWeb: Add FormAssociatedElement to the forwarding header 2024-02-03 15:30:16 -07:00
idl_files.cmake LibWeb: Add SVGSVGElement.viewBox attribute 2024-01-25 08:23:41 +01:00
Namespace.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Namespace.h LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
PixelUnits.cpp LibWeb: Refactor int types in WebContentServer to DevicePixels 2023-12-15 17:01:16 +01:00
PixelUnits.h LibWeb: Remove early continue in size parsing 2024-01-20 15:22:25 +01:00
TreeNode.h LibWeb: Remove all the unused functions from TreeNode 2023-08-20 05:02:59 +02:00