Index: core/css/StyleSheetList.idl |
diff --git a/core/css/StyleSheetList.idl b/core/css/StyleSheetList.idl |
index 3da2d91e544bb51fdd689a12863a6d871945191a..ce31d3b688fe4001f1fbaf01f698a4541dc8c517 100644 |
--- a/core/css/StyleSheetList.idl |
+++ b/core/css/StyleSheetList.idl |
@@ -18,12 +18,16 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 2: |
+// http://dev.w3.org/csswg/cssom/#the-stylesheetlist-interface |
+ |
+// TODO(philipj): StyleSheetList should be an [ArrayClass]. |
[ |
SetWrapperReferenceFrom=document, |
WillBeGarbageCollected |
] interface StyleSheetList { |
+ [Measure] getter StyleSheet? item(unsigned long index); |
readonly attribute unsigned long length; |
- getter StyleSheet item(unsigned long index); |
+ |
+ // Non-standard APIs |
[NotEnumerable] getter CSSStyleSheet (DOMString name); |
}; |