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

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

Issue 1159623015: Move Element.style to HTMLElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase added a tabStop, removed it Created 5 years, 6 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 only be on HTMLElement. 99 // FIXME: offset* should only be on HTMLElement.
100 [MeasureAs=ElementOffsetParent, PerWorldBindings] readonly attribute Element ? offsetParent; 100 [MeasureAs=ElementOffsetParent, PerWorldBindings] readonly attribute Element ? offsetParent;
101 [MeasureAs=ElementOffsetTop] readonly attribute long offsetTop; 101 [MeasureAs=ElementOffsetTop] readonly attribute long offsetTop;
102 [MeasureAs=ElementOffsetLeft] readonly attribute long offsetLeft; 102 [MeasureAs=ElementOffsetLeft] readonly attribute long offsetLeft;
103 [MeasureAs=ElementOffsetWidth] readonly attribute long offsetWidth; 103 [MeasureAs=ElementOffsetWidth] readonly attribute long offsetWidth;
104 [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight; 104 [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight;
105 105
106 // CSS Object Model (CSSOM)
107 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
108 // FIXME: style should be on HTMLElement and SVGElement. crbug.com/497376
109 // FIXME: style should have [PutForwards=cssText].
110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style;
111
112 // HTML 106 // HTML
113 // https://html.spec.whatwg.org/#htmlelement 107 // https://html.spec.whatwg.org/#htmlelement
114 // FIXME: dataset should be on HTMLElement. 108 // FIXME: dataset should be on HTMLElement.
115 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset; 109 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset;
116 110
117 // Non-standard APIs 111 // Non-standard APIs
118 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 112 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962
119 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element); 113 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
120 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 114 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
121 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded); 115 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded);
(...skipping 15 matching lines...) Expand all
137 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 131 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 132 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 133 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 134 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
141 attribute EventHandler onwheel; 135 attribute EventHandler onwheel;
142 }; 136 };
143 137
144 Element implements ParentNode; 138 Element implements ParentNode;
145 Element implements ChildNode; 139 Element implements ChildNode;
146 Element implements NonDocumentTypeChildNode; 140 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698