Victor Porof | 6e09692 | 2022-06-10 13:01:05 | [diff] [blame] | 1 | // 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 | |
| 6 | partial 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] |
| 13 | interface 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 | }; |