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

    constructor();

    readonly attribute Node startContainer;
    readonly attribute unsigned long startOffset;
    readonly attribute Node endContainer;
    readonly attribute unsigned long endOffset;

    undefined setStart(Node node, unsigned long offset);
    undefined setEnd(Node node, unsigned long offset);

    Range cloneRange();

};