WPT
wpt / css / css-cascade / parsing / supports-import-parsing.html
Spec: CSS Cascading ↗
Runs: Chrome 155.0.8043.0 (wpt@d6328700c, 2026-09-05) | Firefox 157.0a1 (wpt@9b965429d, 2026-09-05) | Safari 251 preview (wpt@c29bd2aee, 2026-09-05) | Ladybird 1.0-4912a (wpt@9b965429d, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 24/24 | 24/24 | 24/24 | 24/24 | 24/24 | 0/24 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| @import url("nonexist.css") supports(); should be an invalid import rule due to an invalid supports() declaration | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(foo: bar); should be an invalid import rule due to an invalid supports() declaration | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(display:block); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports((display:flex)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(not (display: flex)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports((display: flex) and (display: block)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports((display: flex) or (display: block)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports((display: flex) or (foo: bar)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(display: block !important); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") layer supports(); should be an invalid import rule due to an invalid supports() declaration | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") layer supports(foo: bar); should be an invalid import rule due to an invalid supports() declaration | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") layer(A) supports((display: flex) or (foo: bar)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") layer(A.B) supports((display: flex) and (foo: bar)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(selector(a)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(selector(p a)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(selector(p > a)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(selector(p + a)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(font-tech(color-colrv1)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(font-format(opentype)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports(at-rule(@import)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | — |
| @import url("nonexist.css") supports(at-rule(@doesnotexist)); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | — |
| @import url(nonexist.css) supports(display:block); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import "nonexist.css" supports(display:block); should be a valid supports() import rule | PASS | PASS | PASS | PASS | PASS | FAIL |
| @import url("nonexist.css") supports; should still be a valid import rule with an invalid supports() declaration | PASS | PASS | PASS | PASS | PASS | FAIL |