Skip to content

Commit 4e34f54

Browse files
committed
[css-nesting-1] adds CSSNestingRule interface
1 parent 43fa98f commit 4e34f54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-nesting-1/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ Module Interactions</h3>
2828
This module introduces new parser rules that extend the [[!CSS21]] parser model.
2929
This module introduces selectors that extend the [[SELECTORS4]] module.
3030

31+
<pre class=idl>
32+
interface CSSNestingRule : CSSRule {
33+
attribute CSSOMString selectorText;
34+
[SameObject] readonly attribute CSSRuleList cssRules;
35+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
36+
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
37+
undefined deleteRule(unsigned long index);
38+
};
39+
</pre>
40+
3141
<h3 id="values">
3242
Values</h3>
3343

0 commit comments

Comments
 (0)