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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); 89 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y);
90 attribute unrestricted double scrollTop; 90 attribute unrestricted double scrollTop;
91 attribute unrestricted double scrollLeft; 91 attribute unrestricted double scrollLeft;
92 readonly attribute long scrollWidth; 92 readonly attribute long scrollWidth;
93 readonly attribute long scrollHeight; 93 readonly attribute long scrollHeight;
94 readonly attribute long clientTop; 94 readonly attribute long clientTop;
95 readonly attribute long clientLeft; 95 readonly attribute long clientLeft;
96 readonly attribute long clientWidth; 96 readonly attribute long clientWidth;
97 readonly attribute long clientHeight; 97 readonly attribute long clientHeight;
98 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa ce 98 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa ce
99 // FIXME: offset* should be on HTMLElement. 99 // FIXME: offset* should only be on HTMLElement.
100 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element? offsetParent; 100 [MeasureAs=ElementOffsetParent, ImplementedAs=offsetParentForBindings, PerWo rldBindings] readonly attribute Element? offsetParent;
101 readonly attribute long offsetTop; 101 [MeasureAs=ElementOffsetTop] readonly attribute long offsetTop;
102 readonly attribute long offsetLeft; 102 [MeasureAs=ElementOffsetLeft] readonly attribute long offsetLeft;
103 readonly attribute long offsetWidth; 103 [MeasureAs=ElementOffsetWidth] readonly attribute long offsetWidth;
104 readonly attribute long offsetHeight; 104 [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight;
105 105
106 // CSS Object Model (CSSOM) 106 // CSS Object Model (CSSOM)
107 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface 107 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
108 // FIXME: style should be on HTMLElement and SVGElement. 108 // FIXME: style should be on HTMLElement and SVGElement.
109 // FIXME: style should have [PutForwards=cssText]. 109 // FIXME: style should have [PutForwards=cssText].
110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style; 110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style;
111 111
112 // HTML 112 // HTML
113 // https://html.spec.whatwg.org/#htmlelement 113 // https://html.spec.whatwg.org/#htmlelement
114 // FIXME: dataset, focus() and blur() should be on HTMLElement. 114 // FIXME: dataset, focus() and blur() should be on HTMLElement.
(...skipping 27 matching lines...) Expand all
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
146 attribute EventHandler onwheel; 146 attribute EventHandler onwheel;
147 }; 147 };
148 148
149 Element implements ParentNode; 149 Element implements ParentNode;
150 Element implements ChildNode; 150 Element implements ChildNode;
151 Element implements NonDocumentTypeChildNode; 151 Element implements NonDocumentTypeChildNode;
OLDNEW
« 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