1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00
serenity/Libraries/LibWeb/DOM
Luke e8b3a65581 LibWeb: Make event dispatching spec-compliant
Specification: https://dom.spec.whatwg.org/#concept-event-dispatch

This also introduces shadow roots due to it being a requirement of
the event dispatcher.

However, it does not introduce the full shadow DOM, that can be
left for future work.

This changes some event dispatches which require certain attributes
to be initialised to a value.
2020-11-22 18:20:56 +01:00
..
Attribute.h LibWeb: Move Attribute to its own header file 2020-05-22 21:45:00 +02:00
CharacterData.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
CharacterData.h LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
CharacterData.idl LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
Comment.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Comment.h LibWeb: Add Comment and DocumentFragment bindings, move querySelector... 2020-08-17 22:57:05 +02:00
Comment.idl LibWeb: Add Comment and DocumentFragment bindings, move querySelector... 2020-08-17 22:57:05 +02:00
Document.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Document.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Document.idl LibWeb: Use standardized encoding names, add encoding attribute to document 2020-11-14 10:14:03 +01:00
DocumentFragment.cpp LibWeb: Add Comment and DocumentFragment bindings, move querySelector... 2020-08-17 22:57:05 +02:00
DocumentFragment.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
DocumentFragment.idl LibWeb: Add Comment and DocumentFragment bindings, move querySelector... 2020-08-17 22:57:05 +02:00
DocumentType.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
DocumentType.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
DocumentType.idl LibWeb: Implement quirks mode detection 2020-07-21 01:08:32 +02:00
DOMImplementation.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
DOMImplementation.h LibWeb: Add initial implementation of document.implementation 2020-11-13 09:51:07 +01:00
DOMImplementation.idl LibWeb: Add initial implementation of document.implementation 2020-11-13 09:51:07 +01:00
Element.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Element.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Element.idl LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
ElementFactory.cpp LibWeb: Add almost all obsolete but required IDL attributes 2020-11-12 10:38:26 +01:00
ElementFactory.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Event.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Event.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Event.idl LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventDispatcher.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventDispatcher.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventListener.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
EventListener.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventTarget.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventTarget.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
EventTarget.idl LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
Node.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Node.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Node.idl LibWeb: Add Node.textContent 2020-08-17 21:23:11 +02:00
NonDocumentTypeChildNode.h LibWeb: Add NonDocumentTypeChildNode::next_element_in_pre_order() 2020-08-15 00:05:45 +02:00
NonElementParentNode.h LibWeb: Use RefPtrs more in getElementById() and getElementsByName() 2020-10-07 12:47:17 +02:00
ParentNode.cpp LibWeb: Add more document tests, add comment, text and mixin tests 2020-08-17 22:57:05 +02:00
ParentNode.h LibJS: Remove a whole bunch of includes of <LibJS/Interpreter.h> 2020-09-27 20:26:58 +02:00
Position.cpp LibWeb: Add a basic DOM::Position class 2020-08-02 17:34:50 +02:00
Position.h LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
ShadowRoot.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
ShadowRoot.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
ShadowRoot.idl LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
TagNames.cpp LibWeb: Use modern namespaces and fix clang-format comments in tag names 2020-10-22 15:24:42 +02:00
TagNames.h LibWeb: Use modern namespaces and fix clang-format comments in tag names 2020-10-22 15:24:42 +02:00
Text.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Text.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Text.idl LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
Timer.cpp LibWeb: Remove a bunch of unnecessary <LibJS/Interpreter.h> includes 2020-09-29 17:04:16 +02:00
Timer.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
Window.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
Window.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
XMLHttpRequest.cpp LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
XMLHttpRequest.h LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00