mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 06:38:22 +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:
parent
1e9cc2e211
commit
34c130b336
Notes:
sideshowbarker
2024-07-17 03:35:09 +09:00
Author: https://github.com/Lubrsi
Commit: 34c130b336
Pull-request: https://github.com/SerenityOS/serenity/pull/16400
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg ✅
3 changed files with 13 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue