mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09: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: *432e8fb
*eaf2ac7
19 lines
774 B
Text
19 lines
774 B
Text
#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);
|
|
};
|