Index: core/css/StyleSheet.idl |
diff --git a/core/css/StyleSheet.idl b/core/css/StyleSheet.idl |
index c35b9a56e7a643bc4864187f04feb20f82d06843..09a1be32a066eb45ef8ccf020d79c75fc9eaedbb 100644 |
--- a/core/css/StyleSheet.idl |
+++ b/core/css/StyleSheet.idl |
@@ -18,18 +18,19 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 2: |
+// http://dev.w3.org/csswg/cssom/#the-stylesheet-interface |
+ |
[ |
- Custom=Wrap, |
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; |
}; |
- |