1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

LibWeb: Stub Range.getBoundingClientRect

This seems to be used by Discord around the chat message box, but
didn't explore very far.
This commit is contained in:
Luke Wilde 2022-12-09 18:50:42 +00:00 committed by Linus Groh
parent 1e9cc2e211
commit 34c130b336
3 changed files with 13 additions and 0 deletions

View file

@ -82,6 +82,8 @@ public:
static HashTable<Range*>& live_ranges();
JS::NonnullGCPtr<Geometry::DOMRect> get_bounding_client_rect() const;
private:
explicit Range(Document&);
Range(Node& start_container, u32 start_offset, Node& end_container, u32 end_offset);