DocumentFragment.idl 853 B

1234567891011121314151617181920212223242526
  1. #import <DOM/Element.idl>
  2. #import <DOM/HTMLCollection.idl>
  3. #import <DOM/Node.idl>
  4. #import <DOM/NodeList.idl>
  5. interface DocumentFragment : Node {
  6. constructor();
  7. Element? getElementById(DOMString id);
  8. // FIXME: These should all come from a ParentNode mixin
  9. readonly attribute Element? firstElementChild;
  10. readonly attribute Element? lastElementChild;
  11. readonly attribute unsigned long childElementCount;
  12. [CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
  13. [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
  14. [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
  15. Element? querySelector(DOMString selectors);
  16. [NewObject] NodeList querySelectorAll(DOMString selectors);
  17. [SameObject] readonly attribute HTMLCollection children;
  18. };