blob: d87f305fddf9e7c3f0151d51a595ae7140dce908 [file] [log] [blame]
Victor Porof6e096922022-06-10 13:01:05 +00001// 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
6partial interface CSSRule {
7 const unsigned short SUPPORTS_RULE = 12;
8};
9
10[Exposed=Window]
11interface CSSConditionRule : CSSGroupingRule {
12 readonly attribute CSSOMString conditionText;
13};
14
15[Exposed=Window]
16interface CSSMediaRule : CSSConditionRule {
17 [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
18};
19
20[Exposed=Window]
21interface CSSSupportsRule : CSSConditionRule {
22};
23
24partial namespace CSS {
25 boolean supports(CSSOMString property, CSSOMString value);
26 boolean supports(CSSOMString conditionText);
27};