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

LibWeb: Stub Range::get_client_rects()

Fixes "Application error: a client-side exception has occurred (see
the browser console for more information)." on https://kotlinlang.org/
This commit is contained in:
Aliaksandr Kalenik 2024-01-19 13:55:37 +01:00 committed by Andreas Kling
parent a0462f495c
commit 02d5ed44cb
3 changed files with 10 additions and 0 deletions

View file

@ -85,6 +85,7 @@ public:
static HashTable<Range*>& live_ranges();
JS::NonnullGCPtr<Geometry::DOMRectList> get_client_rects() const;
JS::NonnullGCPtr<Geometry::DOMRect> get_bounding_client_rect() const;
bool contains_node(Node const&) const;