1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00
serenity/Userland/Libraries/LibWeb/DOM/Range.idl
2022-02-25 20:20:31 +01:00

19 lines
432 B
Text

#import <DOM/Node.idl>
interface Range {
constructor();
readonly attribute boolean collapsed;
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();
};