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:
parent
1e9cc2e211
commit
34c130b336
3 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue