mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This was recently added to both the HTML and DOM specifications, introducing the new moveBefore DOM API, as well as the new internal 'removing steps'. See: * https://github.com/whatwg/html/commit/432e8fb * https://github.com/whatwg/dom/commit/eaf2ac7
20 lines
774 B
Plaintext
20 lines
774 B
Plaintext
#import <DOM/HTMLCollection.idl>
|
|
#import <DOM/Node.idl>
|
|
|
|
// https://dom.spec.whatwg.org/#parentnode
|
|
interface mixin ParentNode {
|
|
[SameObject] readonly attribute HTMLCollection children;
|
|
readonly attribute Element? firstElementChild;
|
|
readonly attribute Element? lastElementChild;
|
|
readonly attribute unsigned long childElementCount;
|
|
|
|
[CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
|
|
[CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
|
|
[CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
|
|
|
|
[CEReactions] undefined moveBefore(Node node, Node? child);
|
|
|
|
Element? querySelector(DOMString selectors);
|
|
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
|
};
|