Skip to content

Commit 7f8587f

Browse files
jugglinmikedbaron
authored andcommitted
[css-conditional-3] Remove duplicate interface w3c#3528 (w3c#4029)
CSSGroupingRule is defined by CSSOM.
1 parent ac43dda commit 7f8587f

File tree

1 file changed

+0
-56
lines changed

1 file changed

+0
-56
lines changed

css-conditional-3/Overview.bs

-56
Original file line numberDiff line numberDiff line change
@@ -489,62 +489,6 @@ partial interface CSSRule {
489489
</pre>
490490

491491

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-
548492
<h3 id="the-cssconditionrule-interface">
549493
The <code>CSSConditionRule</code> interface</h3>
550494

0 commit comments

Comments
 (0)