summaryrefslogtreecommitdiffstats
path: root/dom/webidl/StyleSheetList.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/StyleSheetList.webidl')
-rw-r--r--dom/webidl/StyleSheetList.webidl10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/webidl/StyleSheetList.webidl b/dom/webidl/StyleSheetList.webidl
new file mode 100644
index 0000000000..98eb5cee98
--- /dev/null
+++ b/dom/webidl/StyleSheetList.webidl
@@ -0,0 +1,10 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// https://drafts.csswg.org/cssom/#stylesheetlist
+[Exposed=Window]
+interface StyleSheetList {
+ getter CSSStyleSheet? item(unsigned long index);
+ readonly attribute unsigned long length;
+};