w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.43k stars 656 forks source link

[css-conditional-3] Missing WPT tests #10613

Open svgeesus opened 1 month ago

svgeesus commented 1 month ago

Empty WPT annotations (removing duplicate assertions):

<wpt title="CSSConditionRule has .conditionText attribute."></wpt>
<wpt title=".media returns a MediaList matching the @media condition."></wpt>
<wpt title=".matches matches the media query, returns boolean."></wpt>
<wpt title="Value of CSSMediaRule.conditionText matches value of media.mediaText."></wpt>
<wpt title="CSSSupportsRule.matches returns true if matches feature query"></wpt>
<wpt title="CSSSupportsRule.conditionText can have tokenization simplifications."></wpt>
<wpt title="CSSSupportsRule.conditionText cannot have other simplifications."></wpt>
<wpt title="CSS.supports(arg1, arg2) evaluates support of property arg1 with value arg2."></wpt>
<wpt title="CSS.supports(arg1) evaluates supports condition arg1."></wpt>
<wpt title="CSS.supports(arg1) implies parentheses."></wpt>
svgeesus commented 1 month ago

In other words, these are spec sections that are testable, but have no WPT tests @dbaron @fantasai