mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:57:44 +00:00
LibWeb: Implement Range.comparePoint
This commit is contained in:
parent
62b76e0658
commit
ad5fb1fd7e
3 changed files with 31 additions and 0 deletions
|
@ -59,6 +59,7 @@ public:
|
|||
|
||||
bool intersects_node(Node const&) const;
|
||||
ExceptionOr<bool> is_point_in_range(Node const&, u32 offset) const;
|
||||
ExceptionOr<i16> compare_point(Node const&, u32 offset) const;
|
||||
|
||||
private:
|
||||
explicit Range(Document&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue