summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl')
-rw-r--r--dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl b/dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl
new file mode 100644
index 000000000..1adbb915d
--- /dev/null
+++ b/dom/interfaces/stylesheets/nsIDOMStyleSheetList.idl
@@ -0,0 +1,22 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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/. */
+
+#include "domstubs.idl"
+
+/**
+ * The nsIDOMStyleSheetList interface is a datatype for a style sheet
+ * list in the Document Object Model.
+ *
+ * For more information on this interface please see
+ * http://www.w3.org/TR/DOM-Level-2-Style
+ */
+
+[uuid(0e424250-ac2a-4fe2-bccd-a45824af090e)]
+interface nsIDOMStyleSheetList : nsISupports
+{
+ readonly attribute unsigned long length;
+ [binaryname(SlowItem)]
+ nsIDOMStyleSheet item(in unsigned long index);
+};