summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DocumentFragment.idl
blob: 666f6007ec7202fe5031631d78a6125b387a5df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
interface DocumentFragment : Node {

    constructor();

    Element? getElementById(DOMString id);

    // FIXME: These should all come from a ParentNode mixin
    readonly attribute Element? firstElementChild;
    readonly attribute Element? lastElementChild;
    readonly attribute unsigned long childElementCount;

    Element? querySelector(DOMString selectors);
    ArrayFromVector querySelectorAll(DOMString selectors);

    [SameObject] readonly attribute HTMLCollection children;

};