mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7
This commit is contained in:
parent
728ebcc932
commit
8c46b67f8e
456 changed files with 10561 additions and 5108 deletions
33
tests/wpt/web-platform-tests/interfaces/css-conditional.idl
Normal file
33
tests/wpt/web-platform-tests/interfaces/css-conditional.idl
Normal file
|
@ -0,0 +1,33 @@
|
|||
// 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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue