@@ -489,62 +489,6 @@ partial interface CSSRule {
489
489
</pre>
490
490
491
491
492
- <h3 id='the-cssgroupingrule-interface'>
493
- The <code>CSSGroupingRule</code> interface</h3>
494
-
495
- The {{CSSGroupingRule}} interface represents an at-rule that contains other rules nested inside itself.
496
-
497
- <pre class='idl'>
498
- [Exposed=Window]
499
- interface CSSGroupingRule : CSSRule {
500
- readonly attribute <a href="https://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList">CSSRuleList</a> cssRules;
501
- unsigned long insertRule (CSSOMString rule, unsigned long index);
502
- void deleteRule (unsigned long index);
503
- };
504
- </pre>
505
-
506
- <dl class='idl-attributes'>
507
- <dt><code> cssRules</code> of type <code> <a href="https://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList">CSSRuleList</a> </code> , readonly
508
- <dd> The <code> cssRules</code> attribute must return a <code> CSSRuleList</code>
509
- object for the list of CSS rules nested inside the grouping rule.
510
- </dl>
511
-
512
- <dl class='idl-methods'>
513
- <dt><code> insertRule(CSSOMString rule, unsigned long index)</code> , returns
514
- <code> unsigned long</code>
515
- <dd>
516
- The <code> insertRule</code> operation must
517
- insert a CSS rule <var> rule</var>
518
- into the CSS rule list returned by <code> cssRules</code> ,
519
- such that the inserted rule will be at position <var> index</var> ,
520
- and any rules previously at <var> index</var> or higher
521
- will increase their index by one.
522
- It must throw INDEX_SIZE_ERR
523
- if index is greater than <code> cssRules.length</code> .
524
- It must throw SYNTAX_ERR
525
- if <var> rule</var> has a syntax error and is unparseable;
526
- this does not include syntax errors handled by error handling rules
527
- for constructs inside of the rule,
528
- but this does include cases where the string given
529
- does not parse into a single CSS rule (such as when the string is empty)
530
- or where there is anything other than whitespace or comments
531
- after that single CSS rule.
532
- It must throw HIERARCHY_REQUEST_ERR
533
- if the rule cannot be inserted at the location specified,
534
- for example, if an ''@import'' rule is inserted inside a group rule.
535
-
536
- The return value is the <var> index</var> parameter.
537
-
538
- <dt><code> deleteRule (unsigned long index)</code> , return <code> void</code>
539
- <dd>
540
- The <code> deleteRule</code> operation must
541
- remove a CSS rule from
542
- the CSS rule list returned by <code> cssRules</code> at <var> index</var> .
543
- It must throw INDEX_SIZE_ERR
544
- if index is greater than or equal to <code> cssRules.length</code> .
545
- </dl>
546
-
547
-
548
492
<h3 id="the-cssconditionrule-interface">
549
493
The <code>CSSConditionRule</code> interface</h3>
550
494
0 commit comments