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; |