mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
33 lines
935 B
Text
33 lines
935 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the CSS Conditional Rules spec.
|
|
// See https://drafts.csswg.org/css-conditional/
|
|
|
|
partial interface CSSRule {
|
|
const unsigned short SUPPORTS_RULE = 12;
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface CSSGroupingRule : CSSRule {
|
|
readonly attribute CSSRuleList cssRules;
|
|
unsigned long insertRule (CSSOMString rule, unsigned long index);
|
|
void deleteRule (unsigned long index);
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface CSSConditionRule : CSSGroupingRule {
|
|
attribute CSSOMString conditionText;
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface CSSMediaRule : CSSConditionRule {
|
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface CSSSupportsRule : CSSConditionRule {
|
|
};
|
|
|
|
partial interface CSS {
|
|
static boolean supports(CSSOMString property, CSSOMString value);
|
|
static boolean supports(CSSOMString conditionText);
|
|
};
|