aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleSheet.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/CSSStyleSheet.webidl')
-rw-r--r--components/script/dom/webidls/CSSStyleSheet.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/CSSStyleSheet.webidl b/components/script/dom/webidls/CSSStyleSheet.webidl
index c616c9d2a10..c09f14a3e8a 100644
--- a/components/script/dom/webidls/CSSStyleSheet.webidl
+++ b/components/script/dom/webidls/CSSStyleSheet.webidl
@@ -1,12 +1,12 @@
/* 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/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://drafts.csswg.org/cssom/#the-cssstylesheet-interface
[Exposed=Window]
interface CSSStyleSheet : StyleSheet {
// readonly attribute CSSRule? ownerRule;
[Throws, SameObject] readonly attribute CSSRuleList cssRules;
- [Throws] unsigned long insertRule(DOMString rule, unsigned long index);
+ [Throws] unsigned long insertRule(DOMString rule, optional unsigned long index = 0);
[Throws] void deleteRule(unsigned long index);
};