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
This commit is contained in:
Adam Barth 2015-02-19 10:02:16 -08:00
parent 0c35024cef
commit a033a3261b

View File

@ -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;