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

Side by Side Diff: Source/core/dom/Element.idl

Issue 969303002: Move the CSSOM View offset* attributes to HTMLElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
« no previous file with comments | « no previous file | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); 86 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions);
87 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); 87 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y);
88 attribute unrestricted double scrollTop; 88 attribute unrestricted double scrollTop;
89 attribute unrestricted double scrollLeft; 89 attribute unrestricted double scrollLeft;
90 readonly attribute long scrollWidth; 90 readonly attribute long scrollWidth;
91 readonly attribute long scrollHeight; 91 readonly attribute long scrollHeight;
92 readonly attribute long clientTop; 92 readonly attribute long clientTop;
93 readonly attribute long clientLeft; 93 readonly attribute long clientLeft;
94 readonly attribute long clientWidth; 94 readonly attribute long clientWidth;
95 readonly attribute long clientHeight; 95 readonly attribute long clientHeight;
96 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa ce
97 // FIXME: offset* should be on HTMLElement.
98 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element? offsetParent;
99 readonly attribute long offsetTop;
100 readonly attribute long offsetLeft;
101 readonly attribute long offsetWidth;
102 readonly attribute long offsetHeight;
103 96
104 // CSS Object Model (CSSOM) 97 // CSS Object Model (CSSOM)
105 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface 98 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
106 // FIXME: style should be on HTMLElement and SVGElement. 99 // FIXME: style should be on HTMLElement and SVGElement.
107 // FIXME: style should have [PutForwards=cssText]. 100 // FIXME: style should have [PutForwards=cssText].
108 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 101 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
109 102
110 // HTML 103 // HTML
111 // https://html.spec.whatwg.org/#htmlelement 104 // https://html.spec.whatwg.org/#htmlelement
112 // FIXME: dataset, focus() and blur() should be on HTMLElement. 105 // FIXME: dataset, focus() and blur() should be on HTMLElement.
(...skipping 27 matching lines...) Expand all
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 133 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
141 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 134 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 135 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 136 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
144 attribute EventHandler onwheel; 137 attribute EventHandler onwheel;
145 }; 138 };
146 139
147 Element implements ParentNode; 140 Element implements ParentNode;
148 Element implements ChildNode; 141 Element implements ChildNode;
149 Element implements NonDocumentTypeChildNode; 142 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698