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

Unified Diff: Source/core/html/HTMLElement.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.idl
diff --git a/Source/core/html/HTMLElement.idl b/Source/core/html/HTMLElement.idl
index a0b14f8892d4a0de73562e8592d84b80f2856003..9205515d523e00e259f553a0cc9ca903bfd6e0c2 100644
--- a/Source/core/html/HTMLElement.idl
+++ b/Source/core/html/HTMLElement.idl
@@ -52,6 +52,11 @@ interface HTMLElement : Element {
readonly attribute long offsetWidth;
readonly attribute long offsetHeight;
+ // CSS Object Model (CSSOM)
+ // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
+ // FIXME: style should have [PutForwards=cssText].
+ [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style;
+
// Non-standard APIs
[TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, MeasureAs=HTMLElementInnerText] attribute DOMString innerText;
[TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, MeasureAs=HTMLElementOuterText] attribute DOMString outerText;
« no previous file with comments | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698