WPT
wpt / css / css-properties-values-api / var-reference-registered-properties.html
Spec: CSS Properties and Values API ↗
Runs: Chrome 155.0.8038.0 (wpt@05fffeacb, 2026-09-02) | Firefox 157.0a1 (wpt@7addae031, 2026-09-02) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-410b4 (wpt@ce41a9c47, 2026-09-02) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 15/16 | 15/16 | 15/16 | 15/16 | 15/16 | 0/16 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| var() references work with registered properties | PASS | PASS | PASS | PASS | PASS | FAIL |
| References to registered var()-properties work in registered lists | PASS | PASS | PASS | PASS | PASS | FAIL |
| References to mixed registered and unregistered var()-properties work in registered lists | PASS | PASS | PASS | PASS | PASS | FAIL |
| Registered lists may be concatenated | PASS | PASS | PASS | PASS | PASS | FAIL |
| Font-relative units are absolutized when substituting | PASS | PASS | PASS | PASS | PASS | FAIL |
| Calc expressions are resolved when substituting | PASS | PASS | PASS | PASS | PASS | FAIL |
| Lists with relative units are absolutized when substituting | PASS | PASS | PASS | PASS | PASS | FAIL |
| Values are absolutized when substituting into properties with universal syntax | PASS | PASS | PASS | PASS | PASS | FAIL |
| Invalid values for registered properties are serialized as the empty string | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL |
| Valid fallback does not invalidate var()-reference [<length>, 10px] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Valid fallback does not invalidate var()-reference [<length> | <color>, red] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Valid fallback does not invalidate var()-reference [<length> | none, none] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Invalid fallback doesn't invalidate var()-reference [<length>, red] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Invalid fallback doesn't invalidate var()-reference [<length> | none, nolength] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Invalid fallback doesn't invalidate var()-reference [<length>, var(--novar)] | PASS | PASS | PASS | PASS | PASS | FAIL |
| Empty universal custom property can be substituted with var() | PASS | PASS | PASS | PASS | PASS | FAIL |