ladybird/Userland/Libraries/LibWeb/DOM
Luke Wilde aa9f7cc597 LibWeb: Fix queuing mutation records for node removal
Step 19 of node removal was missing, which allows the mutations of the
descendants of the removed node to still be observed by the parent.

Step 20 of node removal queued the mutation record for the removed
node instead of it's parent. Since queuing takes place after the node
is removed from the tree, the mutation record would be lost as the only
inclusive ancestor of the node at this point is only the node itself.
2022-07-17 18:21:09 +01:00
..
AbortController.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
AbortController.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
AbortController.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
AbortSignal.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
AbortSignal.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
AbortSignal.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00
AbstractRange.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
AbstractRange.idl LibWeb: Abstract Range's members into AbstractRange 2022-02-26 12:53:32 +01:00
Attribute.cpp LibWeb: Implement all "attributes" mutation records for MutationObserver 2022-07-11 22:35:08 +02:00
Attribute.h LibWeb: Implement all "attributes" mutation records for MutationObserver 2022-07-11 22:35:08 +02:00
Attribute.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CDATASection.cpp LibWeb: Add CDATASection 2022-06-27 22:53:04 +01:00
CDATASection.h LibWeb: Add CDATASection 2022-06-27 22:53:04 +01:00
CDATASection.idl LibWeb: Add CDATASection 2022-06-27 22:53:04 +01:00
CharacterData.cpp LibWeb: Implement "characterData" mutation record for MutationObserver 2022-07-11 22:35:08 +02:00
CharacterData.h LibWeb: Implement CharacterData.{append,insert,delete}Data 2022-07-11 22:35:08 +02:00
CharacterData.idl LibWeb: Implement CharacterData.{append,insert,delete}Data 2022-07-11 22:35:08 +02:00
ChildNode.h LibWeb: Convert ChildNode to use TRY for error propagation 2022-03-22 18:05:25 +00:00
Comment.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Comment.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Comment.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CustomEvent.cpp LibWeb: Add the missing CustomEvent IDL constructor 2021-09-29 19:38:41 +02:00
CustomEvent.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CustomEvent.idl LibWeb: Use the LibWeb source directory as the IDL #import base path 2021-10-01 20:14:45 +02:00
Document.cpp LibWeb: Rename LayoutState::NodeState => LayoutState::UsedValues 2022-07-17 14:11:37 +02:00
Document.h LibWeb: Move Origin into the HTML namespace 2022-07-14 00:42:26 +01:00
Document.idl LibWeb: Bring Document closer to spec 2022-04-12 19:42:16 +02:00
DocumentFragment.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
DocumentFragment.h LibWeb: Add fast_is<T>() for some common DOM Node subclasses 2022-03-30 00:52:02 +02:00
DocumentFragment.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
DocumentLoadEventDelayer.cpp LibWeb: Allow HTML parser to delay delivery of the document "load" event 2021-09-26 02:00:00 +02:00
DocumentLoadEventDelayer.h LibWeb: Allow HTML parser to delay delivery of the document "load" event 2021-09-26 02:00:00 +02:00
DocumentType.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
DocumentType.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
DocumentType.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
DOMEventListener.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
DOMEventListener.h LibWeb: Use public inheritance for the RefCounted base class 2022-02-17 11:16:18 +01:00
DOMException.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
DOMException.idl LibWeb: Add support for optional default values and optional bools in IDL 2021-04-11 18:27:52 +02:00
DOMImplementation.cpp LibWeb: Move Origin into the HTML namespace 2022-07-14 00:42:26 +01:00
DOMImplementation.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
DOMImplementation.idl LibWeb: Support DOMImplementation.createDocument() doctype parameter 2022-03-02 09:18:19 +01:00
DOMTokenList.cpp LibWeb: Convert DOMTokenList to use TRY for error propagation 2022-03-22 18:05:25 +00:00
DOMTokenList.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
DOMTokenList.idl LibWeb: Implement DOMTokenList for managing space-separated tokens lists 2021-10-18 23:33:56 +02:00
Element.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Element.h LibWeb: Implement CSS declaration block's "updating flag" 2022-04-11 21:10:07 +02:00
Element.idl LibWeb: Implement Element.toggleAttribute() 2022-03-30 18:30:29 +02:00
ElementFactory.cpp LibWeb: Add SVGDefsElement 2022-04-11 20:19:10 +02:00
ElementFactory.h LibWeb: Support (and validate) prefixes in Document.createElementNS() 2022-03-02 10:55:16 +01:00
Event.cpp LibWeb: Add spec comments to Event 2022-04-20 14:07:38 +02:00
Event.h LibWeb: Rename Event.srcTarget to Event.srcElement 2022-06-18 16:13:03 +01:00
Event.idl LibWeb: Rename Event.srcTarget to Event.srcElement 2022-06-18 16:13:03 +01:00
EventDispatcher.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
EventDispatcher.h LibWeb: Separate "event listener" from "EventListener" 2022-02-16 22:21:45 +01:00
EventHandler.idl LibWeb: Implement WindowEventHandlers 2022-06-29 21:21:50 +01:00
EventTarget.cpp LibWeb: Only make certain <body> and <frameset> events apply to Window 2022-06-29 21:21:50 +01:00
EventTarget.h LibWeb: Only make certain <body> and <frameset> events apply to Window 2022-06-29 21:21:50 +01:00
EventTarget.idl LibWeb: Add support for the options variant of {add,remove}EventListener 2022-02-20 02:03:24 +01:00
ExceptionOr.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
HTMLCollection.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
HTMLCollection.h LibWeb: Expose HTMLCollection's root element to its subclasses 2022-03-22 02:08:15 +01:00
HTMLCollection.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
IDLEventListener.h LibWeb: Add support for the options variant of {add,remove}EventListener 2022-02-20 02:03:24 +01:00
LiveNodeList.cpp LibWeb: Remove unneeded iteration filter on LiveNodeList 2022-05-06 14:11:03 +02:00
LiveNodeList.h LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
MutationObserver.cpp LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationObserver.h LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationObserver.idl LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationRecord.cpp LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationRecord.h LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationRecord.idl LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationType.cpp LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
MutationType.h LibWeb: Introduce Mutation{Record,Observer} and observer microtasks 2022-07-11 22:35:08 +02:00
NamedNodeMap.cpp LibWeb: Implement all "attributes" mutation records for MutationObserver 2022-07-11 22:35:08 +02:00
NamedNodeMap.h LibWeb: Implement all "attributes" mutation records for MutationObserver 2022-07-11 22:35:08 +02:00
NamedNodeMap.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
Node.cpp LibWeb: Fix queuing mutation records for node removal 2022-07-17 18:21:09 +01:00
Node.h LibWeb: Traverse shadow-including subtree when adopting DOM nodes 2022-07-12 23:17:17 +02:00
Node.idl LibWeb: Bring Node closer to spec 2022-04-12 19:42:16 +02:00
NodeFilter.h LibWeb: Add basic support for DOM's NodeIterator and NodeFilter 2022-03-09 16:43:00 +01:00
NodeFilter.idl LibWeb: Add basic support for DOM's NodeIterator and NodeFilter 2022-03-09 16:43:00 +01:00
NodeIterator.cpp LibWeb: Make NodeIterator behave like other browser engines 2022-03-23 00:22:36 +01:00
NodeIterator.h LibWeb: Make NodeIterator behave like other browser engines 2022-03-23 00:22:36 +01:00
NodeIterator.idl LibWeb: Add basic support for DOM's NodeIterator and NodeFilter 2022-03-09 16:43:00 +01:00
NodeList.h LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
NodeList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
NodeOperations.cpp LibWeb: Convert NodeOperations to use TRY for error propagation 2022-03-22 18:05:25 +00:00
NodeOperations.h LibWeb: Implement ParentNode.prepend 2022-01-31 15:25:36 +01:00
NonDocumentTypeChildNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
NonElementParentNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ParentNode.cpp LibWeb: Move CSS Parser into new Web::CSS::Parser namespace 2022-04-12 23:03:46 +02:00
ParentNode.h LibWeb: Add fast_is<ParentNode>() 2022-03-15 19:48:19 +01:00
Position.cpp LibWeb: Remove unnecessary DOM::Position destructor 2021-09-08 11:14:29 +02:00
Position.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ProcessingInstruction.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ProcessingInstruction.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ProcessingInstruction.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
QualifiedName.cpp LibWeb: Share QualifiedName data between identical instances 2022-02-19 14:45:59 +01:00
QualifiedName.h LibWeb: Share QualifiedName data between identical instances 2022-02-19 14:45:59 +01:00
Range.cpp LibWeb: Implement Range.deleteContents() 2022-03-22 20:17:52 +01:00
Range.h LibWeb: Implement Range.deleteContents() 2022-03-22 20:17:52 +01:00
Range.idl LibWeb: Implement Range.deleteContents() 2022-03-22 20:17:52 +01:00
ShadowRoot.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ShadowRoot.h LibWeb: Traverse shadow-including subtree when adopting DOM nodes 2022-07-12 23:17:17 +02:00
ShadowRoot.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
StaticNodeList.cpp LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
StaticNodeList.h LibWeb: Allow creating a StaticNodeList without an r-value Vector 2022-07-11 22:35:08 +02:00
StaticRange.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
StaticRange.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
StaticRange.idl LibWeb: Implement StaticRange 2022-02-26 12:53:32 +01:00
Text.cpp LibWeb: Add CDATASection 2022-06-27 22:53:04 +01:00
Text.h LibWeb: Add CDATASection 2022-06-27 22:53:04 +01:00
Text.idl LibWeb: Implement Text.splitText(offset) 2022-03-21 19:14:50 +01:00
TreeWalker.cpp LibWeb: Minor cleanups in NodeIterator and TreeWalker 2022-03-23 00:19:57 +01:00
TreeWalker.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
TreeWalker.idl LibWeb: Add support for DOM's TreeWalker 2022-03-09 16:43:55 +01:00