summaryrefslogtreecommitdiffstats
path: root/dom/webidl/CSSStyleSheet.webidl
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-28 07:54:49 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-28 07:54:49 -0500
commitea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2 (patch)
tree33adc2d0914eeff8cc1ba568c7602b5776e227bb /dom/webidl/CSSStyleSheet.webidl
parent8fea22c9588cdad45b8853e8cd6fcb4e904bcc7c (diff)
downloadUXP-ea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2.tar
UXP-ea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2.tar.gz
UXP-ea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2.tar.lz
UXP-ea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2.tar.xz
UXP-ea03043bde6f3cef4fb20cd7ccb0a43339cc3cd2.zip
Issue #1304 - Make the second arg of insertRule optional
Diffstat (limited to 'dom/webidl/CSSStyleSheet.webidl')
-rw-r--r--dom/webidl/CSSStyleSheet.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webidl/CSSStyleSheet.webidl b/dom/webidl/CSSStyleSheet.webidl
index 48fb89db1..15c110b8b 100644
--- a/dom/webidl/CSSStyleSheet.webidl
+++ b/dom/webidl/CSSStyleSheet.webidl
@@ -23,7 +23,7 @@ interface CSSStyleSheet : StyleSheet {
[ChromeOnly, BinaryName="parsingModeDOM"]
readonly attribute CSSStyleSheetParsingMode parsingMode;
[Throws, NeedsSubjectPrincipal]
- unsigned long insertRule(DOMString rule, unsigned long index);
+ unsigned long insertRule(DOMString rule, optional unsigned long index = 0);
[Throws, NeedsSubjectPrincipal]
void deleteRule(unsigned long index);
};