1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +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

@ -1,5 +1,6 @@
#import <DOM/Node.idl>
#import <DOM/AbstractRange.idl>
#import <Geometry/DOMRect.idl>
[Exposed=Window]
interface Range : AbstractRange {
@ -38,6 +39,8 @@ interface Range : AbstractRange {
boolean intersectsNode(Node node);
DOMRect getBoundingClientRect();
stringifier;
};