mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibWeb: Implement Range.compareBoundaryPoints
This commit is contained in:
parent
d73fb7e10f
commit
a26f1b2ff9
3 changed files with 103 additions and 0 deletions
|
@ -15,6 +15,12 @@ interface Range : AbstractRange {
|
|||
undefined setEndBefore(Node node);
|
||||
undefined setEndAfter(Node node);
|
||||
|
||||
const unsigned short START_TO_START = 0;
|
||||
const unsigned short START_TO_END = 1;
|
||||
const unsigned short END_TO_END = 2;
|
||||
const unsigned short END_TO_START = 3;
|
||||
short compareBoundaryPoints(unsigned short how, Range sourceRange);
|
||||
|
||||
Range cloneRange();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue