1
Fork 0
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:
Luke Wilde 2022-02-01 18:53:58 +00:00 committed by Andreas Kling
parent 62b76e0658
commit ad5fb1fd7e
3 changed files with 31 additions and 0 deletions

View file

@ -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&);