summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Node.idl
blob: 3165b3131d83789c75acf66770e18115c3f5c8a6 (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);
    Node removeChild(Node child);
};