1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 08:17:34 +00:00
serenity/Userland/Libraries/LibWeb/DOM/Range.idl
2022-02-25 20:45:03 +01:00

21 lines
486 B
Text

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