2022-07-27 19:51:49 +01:00
|
|
|
#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);
|
|
|
|
|
2025-03-08 12:45:26 +13:00
|
|
|
[CEReactions] undefined moveBefore(Node node, Node? child);
|
|
|
|
|
2022-07-27 19:51:49 +01:00
|
|
|
Element? querySelector(DOMString selectors);
|
|
|
|
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
|
|
|
};
|