1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Userland/Libraries/LibWeb/DOM
Luke Wilde 8d6db36cbb LibWeb: Add support for NodeList
This introduces 3 classes: NodeList, StaticNodeList and LiveNodeList.
NodeList is the base of the static and live versions. Static is a
snapshot whereas live acts on the underlying data and thus inhibits
the same issues we have currently with HTMLCollection.

They were split into separate classes to not have them weirdly
mis-mashed together.

The create functions for static and live both return a NNRP to the base
class. This is to prevent having to do awkward casting at creation
and/or return, as the bindings expect to see the base NodeList only.
2021-10-03 00:18:52 +02:00
..
AbortController.cpp LibWeb: Add initial support for AbortController and AbortSignal 2021-09-02 09:12:17 +02:00
AbortController.h LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
AbortController.idl LibWeb: Add initial support for AbortController and AbortSignal 2021-09-02 09:12:17 +02:00
AbortSignal.cpp LibWeb: Implement AbortSignal.onabort 2021-10-01 02:10:56 +02:00
AbortSignal.h LibWeb: Implement AbortSignal.onabort 2021-10-01 02:10:56 +02:00
AbortSignal.idl LibWeb: Implement AbortSignal.onabort 2021-10-01 02:10:56 +02:00
Attribute.h LibWeb: Move Attribute into the DOM namespace 2021-09-16 01:39:47 +02:00
CharacterData.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CharacterData.h LibWeb: Implement ChildNode.remove 2021-09-29 17:56:13 +02:00
CharacterData.idl LibWeb: Implement ChildNode.remove 2021-09-29 17:56:13 +02:00
ChildNode.h LibWeb: Implement ChildNode.remove 2021-09-29 17:56:13 +02:00
Comment.cpp LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
Comment.h LibWeb: Add constructors for Text, DocumentFragment and Comment 2021-09-06 02:18:41 +02:00
Comment.idl LibWeb: Add constructors for Text, DocumentFragment and Comment 2021-09-06 02:18:41 +02:00
CustomEvent.cpp LibWeb: Add the missing CustomEvent IDL constructor 2021-09-29 19:38:41 +02:00
CustomEvent.h LibWeb: Add the missing CustomEvent IDL constructor 2021-09-29 19:38:41 +02: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: Create real Keybord & Message events in Document::create_event 2021-10-01 20:14:45 +02:00
Document.h LibWeb: Support Document.hidden and Document.visibilityState 2021-09-27 16:52:22 +02:00
Document.idl LibWeb: Implement the Document.activeElement attribute 2021-09-27 16:52:22 +02:00
DocumentFragment.cpp LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
DocumentFragment.h LibWeb: Add constructors for Text, DocumentFragment and Comment 2021-09-06 02:18:41 +02:00
DocumentFragment.idl LibWeb: Implement ParentNode.children 2021-09-14 02:09:18 +02:00
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 Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DocumentType.h LibWeb: Implement ChildNode.remove 2021-09-29 17:56:13 +02:00
DocumentType.idl LibWeb: Implement ChildNode.remove 2021-09-29 17:56:13 +02:00
DOMException.h LibWeb: Remove unnecessary WindowObject.h include in DOMException.h 2021-09-22 15:37:50 +02: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: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
DOMImplementation.h LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
DOMImplementation.idl LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
Element.cpp LibWeb: Support Element.client{Top,Left,Width,Height} 2021-09-30 02:17:23 +02:00
Element.h LibWeb: Support Element.client{Top,Left,Width,Height} 2021-09-30 02:17:23 +02:00
Element.idl LibWeb: Support Element.client{Top,Left,Width,Height} 2021-09-30 02:17:23 +02:00
ElementFactory.cpp LibWeb: Add a bare-bones SVG <g> element 2021-09-18 01:39:59 +02:00
ElementFactory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp LibWeb: Remove unused header includes 2021-08-01 08:10:16 +02:00
Event.h LibWeb: Add the missing EventInit property to Event constructor 2021-09-29 10:09:33 +03:00
Event.idl LibWeb: Add the missing EventInit property to Event constructor 2021-09-29 10:09:33 +03:00
EventDispatcher.cpp LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
EventDispatcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventListener.cpp LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
EventListener.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
EventTarget.cpp LibWeb: Mark event listeners generated by event handler attributes 2021-09-26 02:53:57 +02:00
EventTarget.h LibWeb: Provide a default DOM::EventTarget::dispatch_event() 2021-09-25 23:36:43 +02:00
EventTarget.idl LibWeb: Implement EventTarget.dispatchEvent 2021-05-04 23:41:44 +01:00
ExceptionOr.h LibWeb: Use AK::Variant default initialization in one more place 2021-09-21 15:25:17 +02:00
HTMLCollection.cpp LibWeb: Convert HTMLCollection to use IDL special operations 2021-09-26 18:59:56 +02:00
HTMLCollection.h LibWeb: Convert HTMLCollection to use IDL special operations 2021-09-26 18:59:56 +02:00
HTMLCollection.idl LibWeb: Convert HTMLCollection to use IDL special operations 2021-09-26 18:59:56 +02:00
LiveNodeList.cpp LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
LiveNodeList.h LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
Node.cpp LibWeb: Add Node::in_a_document_tree() 2021-09-30 00:00:55 +02:00
Node.h LibWeb: Add Node::in_a_document_tree() 2021-09-30 00:00:55 +02:00
Node.idl LibWeb: Implement Node.isEqualNode(Node? otherNode) 2021-09-13 12:54:24 +02:00
NodeList.h LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
NodeList.idl LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
NonDocumentTypeChildNode.h LibWeb: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
NonElementParentNode.h LibWeb: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
ParentNode.cpp LibWeb: Add getElementsByTagNameNS and add support for * in non-NS 2021-09-22 20:33:06 +02:00
ParentNode.h LibWeb: Add getElementsByTagNameNS and add support for * in non-NS 2021-09-22 20:33:06 +02:00
Position.cpp LibWeb: Remove unnecessary DOM::Position destructor 2021-09-08 11:14:29 +02:00
Position.h LibWeb: Remove unnecessary DOM::Position destructor 2021-09-08 11:14:29 +02:00
ProcessingInstruction.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessingInstruction.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessingInstruction.idl LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
Range.cpp LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
Range.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.idl LibWeb: Add constructor to Range IDL interface 2021-02-17 23:45:07 +01:00
ShadowRoot.cpp LibWeb: Make the innerHTML setter spec compliant 2021-09-14 02:09:18 +02:00
ShadowRoot.h LibWeb: Make the innerHTML setter spec compliant 2021-09-14 02:09:18 +02:00
ShadowRoot.idl LibWeb: Make the innerHTML setter spec compliant 2021-09-14 02:09:18 +02:00
StaticNodeList.cpp LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
StaticNodeList.h LibWeb: Add support for NodeList 2021-10-03 00:18:52 +02:00
Text.cpp LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
Text.h LibWeb: Add constructors for Text, DocumentFragment and Comment 2021-09-06 02:18:41 +02:00
Text.idl LibWeb: Add constructors for Text, DocumentFragment and Comment 2021-09-06 02:18:41 +02:00
Timer.cpp LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
Timer.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
Window.cpp LibWeb: Add the missing PageTransitionEvent IDL constructor 2021-10-01 20:14:45 +02:00
Window.h LibWeb: Add the missing PageTransitionEvent IDL constructor 2021-10-01 20:14:45 +02:00