Click here to download the Blitz Browser!

WPT

wpt / css / css-nesting / parsing.html

Spec: CSS Nesting ↗

Runs: Chrome 155.0.8041.0 (wpt@2c385f65e, 2026-09-04) | Firefox 157.0a1 (wpt@2c385f65e, 2026-09-04) | Safari 251 preview (wpt@a1e944e7a, 2026-09-04) | Ladybird 1.0-a7825 (wpt@2c385f65e, 2026-09-04) | 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
Total32/3232/3232/3232/3232/320/32
SubtestChromeFirefoxSafariLadybirdServoBlitz
.foo { & { color: green; }}PASSPASSPASSPASSPASS
.foo { &.bar { color: green; }}PASSPASSPASSPASSPASS
.foo { & .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { & > .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { > .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { > & .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { + .bar & { color: green; }}PASSPASSPASSPASSPASS
.foo { + .bar, .foo, > .baz { color: green; }}PASSPASSPASSPASSPASS
.foo { .foo { color: green; }}PASSPASSPASSPASSPASS
.foo { .test > & .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { .foo, .foo & { color: green; }}PASSPASSPASSPASSPASS
.foo { .foo, .bar { color: green; }}PASSPASSPASSPASSPASS
.foo { :is(.bar, .baz) { color: green; }}PASSPASSPASSPASSPASS
.foo { &:is(.bar, .baz) { color: green; }}PASSPASSPASSPASSPASS
.foo { :is(.bar, &.baz) { color: green; }}PASSPASSPASSPASSPASS
.foo { &:is(.bar, &.baz) { color: green; }}PASSPASSPASSPASSPASS
.foo { div& { color: green; }}PASSPASSPASSPASSPASS
INVALID: .foo { &div { color: green; }}PASSPASSPASSPASSPASS
.foo { .class& { color: green; }}PASSPASSPASSPASSPASS
.foo { &.class { color: green; }}PASSPASSPASSPASSPASS
.foo { [attr]& { color: green; }}PASSPASSPASSPASSPASS
.foo { &[attr] { color: green; }}PASSPASSPASSPASSPASS
.foo { #id& { color: green; }}PASSPASSPASSPASSPASS
.foo { &#id { color: green; }}PASSPASSPASSPASSPASS
.foo { :hover& { color: green; }}PASSPASSPASSPASSPASS
.foo { &:hover { color: green; }}PASSPASSPASSPASSPASS
.foo { :is(div)& { color: green; }}PASSPASSPASSPASSPASS
.foo { &:is(div) { color: green; }}PASSPASSPASSPASSPASS
.foo { & .bar & .baz & .qux { color: green; }}PASSPASSPASSPASSPASS
.foo { && { color: green; }}PASSPASSPASSPASSPASS
.foo { & > section, & > article { color: green; }}PASSPASSPASSPASSPASS
.foo, .bar { & + .baz, &.qux { color: green; }}PASSPASSPASSPASSPASS
Uncaught JS errorFAIL