Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: Source/core/dom/Element.idl

Issue 1007683002: Add UseCounters for Element.offset* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test expectations Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index f933ae7dc4dc0634f3deada6543329bfc5877991..c96f526d73204d95aa151d5b153995c69d2d7a2c 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 be on HTMLElement.
- [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element? offsetParent;
- readonly attribute long offsetTop;
- readonly attribute long offsetLeft;
- readonly attribute long offsetWidth;
- readonly attribute long offsetHeight;
+ // FIXME: offset* should only be on HTMLElement.
+ [MeasureAs=ElementOffsetParent, ImplementedAs=offsetParentForBindings, 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;
// CSS Object Model (CSSOM)
// http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698