Index: Source/core/css/StyleSheet.idl |
diff --git a/Source/core/css/StyleSheet.idl b/Source/core/css/StyleSheet.idl |
index 459c59480e3b9e951fb57a1582fb708f05e2ff3f..09a1be32a066eb45ef8ccf020d79c75fc9eaedbb 100644 |
--- a/Source/core/css/StyleSheet.idl |
+++ b/Source/core/css/StyleSheet.idl |
@@ -18,17 +18,19 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 2: |
+// http://dev.w3.org/csswg/cssom/#the-stylesheet-interface |
+ |
[ |
SetWrapperReferenceFrom=ownerNode, |
WillBeGarbageCollected |
] interface StyleSheet { |
- readonly attribute DOMString? type; |
- attribute boolean disabled; |
- readonly attribute Node ownerNode; |
- readonly attribute StyleSheet parentStyleSheet; |
- readonly attribute DOMString? href; |
- readonly attribute DOMString? title; |
- readonly attribute MediaList media; |
+ readonly attribute DOMString type; |
+ readonly attribute DOMString? href; |
+ // TODO(philipj): ownerNode should be (Element or ProcessingInstruction). |
+ readonly attribute Node? ownerNode; |
+ readonly attribute StyleSheet? parentStyleSheet; |
+ readonly attribute DOMString? title; |
+ // TODO(philipj): media should have [PutForwards=mediaText]. |
+ [SameObject] readonly attribute MediaList media; |
+ attribute boolean disabled; |
}; |
- |