Index: Source/core/dom/Element.idl |
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl |
index 2d0574cfa815845e8441d21b7fbdeb810a129890..f89083b282dd9c3283e36f77c6da6a0c60256df4 100644 |
--- a/Source/core/dom/Element.idl |
+++ b/Source/core/dom/Element.idl |
@@ -96,12 +96,12 @@ |
readonly attribute long clientWidth; |
readonly attribute long clientHeight; |
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface |
- // FIXME: offset* should only be on HTMLElement. |
- [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; |
+ // FIXME: offset* should only be on HTMLElement. crbug.com/504578 |
+ [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 |