Victor Porof | 6e09692 | 2022-06-10 13:01:05 +0000 | [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 Conditional Rules Module Level 3 (https://drafts.csswg.org/css-conditional-3/) |
| 5 | |
| 6 | partial interface CSSRule { |
| 7 | const unsigned short SUPPORTS_RULE = 12; |
| 8 | }; |
| 9 | |
| 10 | [Exposed=Window] |
| 11 | interface CSSConditionRule : CSSGroupingRule { |
| 12 | readonly attribute CSSOMString conditionText; |
| 13 | }; |
| 14 | |
| 15 | [Exposed=Window] |
| 16 | interface CSSMediaRule : CSSConditionRule { |
| 17 | [SameObject, PutForwards=mediaText] readonly attribute MediaList media; |
| 18 | }; |
| 19 | |
| 20 | [Exposed=Window] |
| 21 | interface CSSSupportsRule : CSSConditionRule { |
| 22 | }; |
| 23 | |
| 24 | partial namespace CSS { |
| 25 | boolean supports(CSSOMString property, CSSOMString value); |
| 26 | boolean supports(CSSOMString conditionText); |
| 27 | }; |