1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibWeb/DOM
Luke e3d01c5e10 LibWeb: Make the node mutation event functions spec compliant
This particularly affects the insertion steps and the removed steps.

The insertion steps no longer take into the parent that the node
was inserted to, as per the spec. Due to this, I have renamed the
function from "inserted_into" to simply "inserted". None of the
users of the insertion steps was using it anyway.

The removed steps now take a pointer to the old parent instead of
a reference. This is because it is optional according to the spec
and old parent is null when running the removal steps for the
descendants of a node that just got removed.

This commit does not affect HTMLScriptElement as there is a bit
more to that, which is better suited for a separate commit.

Also adds in the adopted steps as they will be used later.
2021-04-06 21:42:00 +02:00
..
Attribute.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CharacterData.cpp LibWeb: Relayout document on CharacterData data change 2021-02-10 19:06:20 +01:00
CharacterData.h LibWeb: Relayout document on CharacterData data change 2021-02-10 19:06:20 +01:00
CharacterData.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Comment.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Comment.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Comment.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Document.cpp LibWeb: Support two-value background-repeat 2021-04-05 18:49:04 +02:00
Document.h LibWeb: Support two-value background-repeat 2021-04-05 18:49:04 +02:00
Document.idl LibWeb: Stub out Document.cookie 2021-03-15 21:20:33 +01:00
DocumentFragment.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DocumentFragment.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DocumentFragment.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DocumentType.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DocumentType.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DocumentType.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DOMException.h LibWeb: Add DOM::DOMException class and bindings 2021-02-20 00:09:11 +01:00
DOMException.idl LibWeb: Add DOM::DOMException class and bindings 2021-02-20 00:09:11 +01:00
DOMImplementation.cpp LibWeb: Replace WrapperGenerator's snake_name() with String::to_snakecase() 2021-02-21 19:47:47 +01:00
DOMImplementation.h LibWeb: Replace WrapperGenerator's snake_name() with String::to_snakecase() 2021-02-21 19:47:47 +01:00
DOMImplementation.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Element.cpp LibWeb: Invalidate element style after setting Element.style.foo 2021-03-16 19:00:42 +01:00
Element.h LibWeb: Expose barebones CSSStyleDeclaration to JavaScript 2021-03-13 22:41:32 +01:00
Element.idl LibWeb: Expose barebones CSSStyleDeclaration to JavaScript 2021-03-13 22:41:32 +01:00
ElementFactory.cpp LibWeb: Use move semantics for QualifiedName more often 2021-02-07 11:20:15 +01:00
ElementFactory.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Event.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Event.h LibWeb: Add constructor to Event IDL interface 2021-02-17 23:45:07 +01:00
Event.idl LibWeb: Add constructor to Event IDL interface 2021-02-17 23:45:07 +01:00
EventDispatcher.cpp LibWeb: Run queued promise jobs after callbacks 2021-04-02 10:47:40 +02:00
EventDispatcher.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
EventListener.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
EventListener.h LibWeb: Basic implementation of global event handlers :^) 2021-02-03 23:03:05 +01:00
EventTarget.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
EventTarget.h LibWeb: Basic implementation of global event handlers :^) 2021-02-03 23:03:05 +01:00
EventTarget.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ExceptionOr.h LibWeb: Add DOM::ExceptionOr<T> container 2021-02-20 00:09:11 +01:00
Node.cpp LibWeb: Remove nodes from their old parent in appendChild/insertBefore 2021-04-06 15:52:09 +02:00
Node.h LibWeb: Make the node mutation event functions spec compliant 2021-04-06 21:42:00 +02:00
Node.idl LibWeb: Add a couple child node operations to Node and add node types 2021-03-06 19:57:12 +01:00
NonDocumentTypeChildNode.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
NonElementParentNode.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ParentNode.cpp LibWeb: Rename CSSParser => DeprecatedCSSParser 2021-03-09 17:35:57 +01:00
ParentNode.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Position.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Position.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ProcessingInstruction.cpp LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
ProcessingInstruction.h LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
ProcessingInstruction.idl LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
Range.cpp LibWeb: Add Document.createRange() 2021-02-21 23:48:01 +01:00
Range.h LibWeb: Add Document.createRange() 2021-02-21 23:48:01 +01:00
Range.idl LibWeb: Add constructor to Range IDL interface 2021-02-17 23:45:07 +01:00
ShadowRoot.cpp LibWeb: Generate layout nodes for shadow subtrees 2021-02-10 19:06:20 +01:00
ShadowRoot.h LibWeb: Generate layout nodes for shadow subtrees 2021-02-10 19:06:20 +01:00
ShadowRoot.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Text.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Text.h LibWeb: Add a way to make a DOM::Text always editable 2021-02-10 19:06:20 +01:00
Text.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Timer.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Timer.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
Window.cpp LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
Window.h LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00