diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-28 07:54:49 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-28 07:54:49 -0500 |
commit | 3662c5ad9138dd22dbfdb646f06008a7be11a8a6 (patch) | |
tree | 33adc2d0914eeff8cc1ba568c7602b5776e227bb /dom/interfaces/css | |
parent | c99aa8a00f0fed6e2745f87ffce6487251a87cd2 (diff) | |
download | aura-central-3662c5ad9138dd22dbfdb646f06008a7be11a8a6.tar.gz |
Issue mcp-graveyard/UXP%1304 - Make the second arg of insertRule optional
Diffstat (limited to 'dom/interfaces/css')
-rw-r--r-- | dom/interfaces/css/nsIDOMCSSGroupingRule.idl | 2 | ||||
-rw-r--r-- | dom/interfaces/css/nsIDOMCSSStyleSheet.idl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dom/interfaces/css/nsIDOMCSSGroupingRule.idl b/dom/interfaces/css/nsIDOMCSSGroupingRule.idl index 80f072d16..f3580aeec 100644 --- a/dom/interfaces/css/nsIDOMCSSGroupingRule.idl +++ b/dom/interfaces/css/nsIDOMCSSGroupingRule.idl @@ -14,7 +14,7 @@ interface nsIDOMCSSGroupingRule : nsIDOMCSSRule readonly attribute nsIDOMCSSRuleList cssRules; unsigned long insertRule(in DOMString rule, - in unsigned long index) + [optional] in unsigned long index) raises(DOMException); void deleteRule(in unsigned long index) raises(DOMException); diff --git a/dom/interfaces/css/nsIDOMCSSStyleSheet.idl b/dom/interfaces/css/nsIDOMCSSStyleSheet.idl index b9e13134e..cefe4f704 100644 --- a/dom/interfaces/css/nsIDOMCSSStyleSheet.idl +++ b/dom/interfaces/css/nsIDOMCSSStyleSheet.idl @@ -20,7 +20,7 @@ interface nsIDOMCSSStyleSheet : nsIDOMStyleSheet readonly attribute nsIDOMCSSRuleList cssRules; unsigned long insertRule(in DOMString rule, - in unsigned long index) + [optional] in unsigned long index) raises(DOMException); void deleteRule(in unsigned long index) raises(DOMException); |