aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Element.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Element.webidl')
-rw-r--r--components/script/dom/webidls/Element.webidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl
index 81c6f329b47..f2f18a5cc0b 100644
--- a/components/script/dom/webidls/Element.webidl
+++ b/components/script/dom/webidls/Element.webidl
@@ -59,6 +59,11 @@ interface Element : Node {
partial interface Element {
DOMRectList getClientRects();
DOMRect getBoundingClientRect();
+
+ readonly attribute long clientTop;
+ readonly attribute long clientLeft;
+ readonly attribute long clientWidth;
+ readonly attribute long clientHeight;
};
// https://domparsing.spec.whatwg.org/#extensions-to-the-element-interface