File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -842,7 +842,7 @@ The {{CSSStyleSheet}} interface represents a <a>CSS style sheet</a>.
842842interface CSSStyleSheet : StyleSheet {
843843 readonly attribute CSSRule? ownerRule;
844844 [SameObject] readonly attribute CSSRuleList cssRules;
845- unsigned long insertRule(DOMString rule, unsigned long index);
845+ unsigned long insertRule(DOMString rule, optional unsigned long index = 0 );
846846 void deleteRule(unsigned long index);
847847};
848848</pre>
@@ -1673,7 +1673,7 @@ The <code>CSSGroupingRule</code> interface represents an at-rule that contains o
16731673<pre class=idl>
16741674interface CSSGroupingRule : CSSRule {
16751675 [SameObject] readonly attribute CSSRuleList cssRules;
1676- unsigned long insertRule(DOMString rule, unsigned long index);
1676+ unsigned long insertRule(DOMString rule, optional unsigned long index = 0 );
16771677 void deleteRule(unsigned long index);
16781678};
16791679</pre>
You can’t perform that action at this time.
0 commit comments