summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Document.idl
blob: 9d1184115b97e0be752e168926560528f8d2c0fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
interface Document : Node {

    Element? getElementById(DOMString id);
    Element? querySelector(DOMString selectors);
    ArrayFromVector getElementsByTagName(DOMString tagName);
    ArrayFromVector querySelectorAll(DOMString selectors);
    Element createElement(DOMString tagName);

    readonly attribute DOMString compatMode;
    readonly attribute DocumentType? doctype;

    readonly attribute HTMLElement? body;

}