2022-02-15 22:40:51 +03:30
|
|
|
#import <DOM/Element.idl>
|
|
|
|
|
#import <DOM/HTMLCollection.idl>
|
|
|
|
|
#import <DOM/Node.idl>
|
|
|
|
|
#import <DOM/NodeList.idl>
|
|
|
|
|
|
2020-08-17 19:14:30 +01:00
|
|
|
interface DocumentFragment : Node {
|
|
|
|
|
|
2021-09-06 01:07:11 +01:00
|
|
|
constructor();
|
|
|
|
|
|
2020-08-17 19:14:30 +01:00
|
|
|
Element? getElementById(DOMString id);
|
2020-11-21 18:49:09 +00:00
|
|
|
|
2021-04-11 17:13:10 +01:00
|
|
|
// FIXME: These should all come from a ParentNode mixin
|
2020-11-21 18:49:09 +00:00
|
|
|
readonly attribute Element? firstElementChild;
|
|
|
|
|
readonly attribute Element? lastElementChild;
|
2021-04-11 17:13:10 +01:00
|
|
|
readonly attribute unsigned long childElementCount;
|
2020-11-21 18:49:09 +00:00
|
|
|
|
2022-01-29 20:23:48 +00:00
|
|
|
[CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
|
2022-01-29 20:45:17 +00:00
|
|
|
[CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
|
2022-01-29 21:01:09 +00:00
|
|
|
[CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
|
2022-01-29 20:23:48 +00:00
|
|
|
|
2020-08-17 19:14:30 +01:00
|
|
|
Element? querySelector(DOMString selectors);
|
2021-10-02 20:36:39 +01:00
|
|
|
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
2020-08-17 19:14:30 +01:00
|
|
|
|
2021-09-13 23:01:17 +01:00
|
|
|
[SameObject] readonly attribute HTMLCollection children;
|
|
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|