WPT
wpt / css / css-navigation / tentative / parsing / location-valid.html
Spec: CSS Navigation Matching ↗
Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@4a01b83e3, 2026-09-04) | Safari 251 preview (wpt@a1e944e7a, 2026-09-04) | Ladybird 1.0-a7825 (wpt@4a01b83e3, 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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 21/21 | 8/21 | 8/21 | 8/21 | 8/21 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| no descriptors | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| @location --loc{} should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| escape identifiers | PASS | PASS | PASS | PASS | PASS | — |
| @location --ahoi\(hoi {} should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| pattern descriptor | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { pattern: url-pattern("/foo/*"); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| @location --loc { pattern: url-Pattern( '/foo/*' ); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| @location --loc { PATTERN: url-pattern( '/foo/*' ); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| empty pattern descriptor | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { pattern: url-pattern(""); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| @location --loc { pattern: url-pattern(''); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| complex pattern descriptor | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { pattern: url-pattern("https://example.com:8080/books/:id?sort=asc#heading"); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| pattern descriptor with quote | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { pattern: url-pattern('/"'); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| @location --loc { pattern: url-pattern("/\""); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| pattern descriptor with backslash | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { pattern: url-pattern('/\\'); } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |
| init descriptors | PASS | PASS | PASS | PASS | PASS | — |
| @location --loc { protocol: "https"; hostname: "example.com"; port: "8080"; pathname: "/books/:id"; search: "sort=asc"; hash: "heading"; base-url: "https://example.com/"; } should be a valid rule | PASS | FAIL | FAIL | FAIL | FAIL | — |