summaryrefslogtreecommitdiffstats
path: root/dom/webidl/StyleSheetChangeEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/StyleSheetChangeEvent.webidl')
-rw-r--r--dom/webidl/StyleSheetChangeEvent.webidl18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/webidl/StyleSheetChangeEvent.webidl b/dom/webidl/StyleSheetChangeEvent.webidl
new file mode 100644
index 000000000..9d04f67cc
--- /dev/null
+++ b/dom/webidl/StyleSheetChangeEvent.webidl
@@ -0,0 +1,18 @@
+/* -*- 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/.
+ */
+
+[ChromeOnly, Constructor(DOMString type, optional StyleSheetChangeEventInit eventInitDict)]
+interface StyleSheetChangeEvent : Event
+{
+ readonly attribute CSSStyleSheet? stylesheet;
+ readonly attribute boolean documentSheet;
+};
+
+dictionary StyleSheetChangeEventInit : EventInit
+{
+ CSSStyleSheet? stylesheet = null;
+ boolean documentSheet = false;
+};