summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Node.idl
blob: 33c883049dd41a582a468273dde44e55ecf86757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;

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

}