mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +00:00
LibWeb: Support Element.client{Top,Left,Width,Height}
This commit is contained in:
parent
9d852623f2
commit
3006e15c94
3 changed files with 42 additions and 0 deletions
|
@ -39,6 +39,11 @@ interface Element : Node {
|
|||
|
||||
DOMRect getBoundingClientRect();
|
||||
|
||||
readonly attribute long clientTop;
|
||||
readonly attribute long clientLeft;
|
||||
readonly attribute long clientWidth;
|
||||
readonly attribute long clientHeight;
|
||||
|
||||
// FIXME: This should come from a ChildNode mixin
|
||||
[CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue