Click here to download the Blitz Browser!

WPT

wpt / css / css-nesting / nested-declarations-matching.html

Spec: CSS Nesting ↗

Runs: Chrome 155.0.8040.0 (wpt@105b6a3a5, 2026-09-03) | Firefox 157.0a1 (wpt@e6996908b, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-f436a (wpt@476394464, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total11/1111/1111/1111/1110/119/11
SubtestChromeFirefoxSafariLadybirdServoBlitz
Trailing declarations apply after any preceding rulesPASSPASSPASSPASSPASSPASS
Trailing declarations apply after any preceding rules (no leading)PASSPASSPASSPASSPASSPASS
Trailing declarations apply after any preceding rules (multiple)PASSPASSPASSPASSPASSPASS
Nested declarations rule has same specificity as outer selectorPASSPASSPASSPASSPASSPASS
Nested declarations rule has top-level specificity behaviorPASSPASSPASSPASSPASSPASS
Nested declarations rule has top-level specificity behavior (max matching)PASSPASSPASSPASSPASSPASS
Bare declartaion in nested grouping rule can match pseudo-elementPASSPASSPASSPASSFAILFAIL
Nested group rules have top-level specificity behaviorPASSPASSPASSPASSPASSPASS
Nested @scope rules behave like :where(:scope)PASSPASSPASSPASSPASSPASS
Nested @scope rules behave like :where(:scope) (trailing)PASSPASSPASSPASSPASSPASS
Nested declarations rule responds to parent selector text changePASSPASSPASSPASSPASSFAIL