blob: 8d3cccbc64affcd27051c0a0edfee3d80f5d8b99 [file] [log] [blame]
Victor Porof6e096922022-06-10 13:01:051// GENERATED CONTENT - DO NOT EDIT
2// Content was automatically extracted by Reffy into webref
3// (https://github.com/w3c/webref)
4// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting/)
5
6partial interface CSSStyleRule {
7 [SameObject] readonly attribute CSSRuleList cssRules;
8 unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
9 undefined deleteRule(unsigned long index);
10};
11
12[Exposed=Window]
13interface CSSNestingRule : CSSRule {
14 attribute CSSOMString selectorText;
15 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
16 [SameObject] readonly attribute CSSRuleList cssRules;
17 unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
18 undefined deleteRule(unsigned long index);
19};