Chromium Code Reviews| Index: Source/core/dom/Element.idl |
| diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl |
| index 2d0574cfa815845e8441d21b7fbdeb810a129890..4d09892ded504628052b5587ef9a6e27910deea5 100644 |
| --- a/Source/core/dom/Element.idl |
| +++ b/Source/core/dom/Element.idl |
| @@ -97,11 +97,11 @@ |
| readonly attribute long clientHeight; |
| // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface |
| // FIXME: offset* should only be on HTMLElement. |
|
philipj_slow
2015/07/08 12:16:20
Add crbug.com/504578 to the end of this comment.
tanay.c
2015/07/10 09:07:20
Done.
|
| - [MeasureAs=ElementOffsetParent, PerWorldBindings] readonly attribute Element? offsetParent; |
| - [MeasureAs=ElementOffsetTop] readonly attribute long offsetTop; |
| - [MeasureAs=ElementOffsetLeft] readonly attribute long offsetLeft; |
| - [MeasureAs=ElementOffsetWidth] readonly attribute long offsetWidth; |
| - [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight; |
| + [DeprecateAs=ElementOffsetParent, PerWorldBindings] readonly attribute Element? offsetParent; |
| + [DeprecateAs=ElementOffsetTop] readonly attribute long offsetTop; |
| + [DeprecateAs=ElementOffsetLeft] readonly attribute long offsetLeft; |
| + [DeprecateAs=ElementOffsetWidth] readonly attribute long offsetWidth; |
| + [DeprecateAs=ElementOffsetHeight] readonly attribute long offsetHeight; |
| // Non-standard APIs |
| // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 |