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

    readonly attribute DOMString nodeName;
    readonly attribute Node? firstChild;
    readonly attribute Node? lastChild;
    readonly attribute Node? previousSibling;
    readonly attribute Node? nextSibling;
    readonly attribute Node? parentNode;
    readonly attribute Element? parentElement;
    attribute DOMString textContent;

    Node appendChild(Node node);
    Node insertBefore(Node node, Node? child);

}