Files
sousa-gecko/testing/web-platform/tests/interfaces/css-conditional.idl
T
github-actions[bot] 0be5fd2818 Bug 2005878 [wpt PR 56725] - Sync interfaces/ with @webref/idl 3.70.0, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.70.0 (#56725)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: 456a709fe9089ca9cfa3ef815b64c3552fcb0f49
wpt-pr: 56725
2025-12-18 08:35:58 +00:00

31 lines
843 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: CSS Conditional Rules Module Level 3 (https://drafts.csswg.org/css-conditional-3/)
partial interface CSSRule {
const unsigned short SUPPORTS_RULE = 12;
};
[Exposed=Window]
interface CSSConditionRule : CSSGroupingRule {
readonly attribute CSSOMString conditionText;
};
[Exposed=Window]
interface CSSMediaRule : CSSConditionRule {
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
readonly attribute boolean matches;
};
[Exposed=Window]
interface CSSSupportsRule : CSSConditionRule {
readonly attribute boolean matches;
};
partial namespace CSS {
boolean supports(CSSOMString property, CSSOMString value);
boolean supports(CSSOMString conditionText);
};