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

Unified Diff: Source/core/css/StyleSheetList.idl

Issue 1054303004: Sync CSS interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/css/StyleSheet.idl ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetList.idl
diff --git a/Source/core/css/StyleSheetList.idl b/Source/core/css/StyleSheetList.idl
index 3da2d91e544bb51fdd689a12863a6d871945191a..85d4c4478969e1a3fca7e3c14ef23642651a8431 100644
--- a/Source/core/css/StyleSheetList.idl
+++ b/Source/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 {
+ 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);
};
« no previous file with comments | « Source/core/css/StyleSheet.idl ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698