From a033a3261b78dc15c1e771508d44cf46b16d0bf4 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 19 Feb 2015 10:02:16 -0800 Subject: [PATCH] Add back Element#getBoundingClient rect Hans is using this in Modular and we don't have a great replacement at the moment. R=hansmuller@google.com, hansmuller@chromium.org Review URL: https://codereview.chromium.org/942543002 --- engine/core/dom/Element.idl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/core/dom/Element.idl b/engine/core/dom/Element.idl index 6d7d122aad9..21873ee1621 100644 --- a/engine/core/dom/Element.idl +++ b/engine/core/dom/Element.idl @@ -24,6 +24,8 @@ interface Element : ParentNode { attribute long tabIndex; readonly attribute DOMTokenList classList; [RaisesException] ShadowRoot ensureShadowRoot(); + + ClientRect getBoundingClientRect(); readonly attribute long offsetLeft; readonly attribute long offsetTop; readonly attribute long offsetWidth;