css/css-values/
using-font-relative-units-in-font-properties.html
Fails: 1 of 9 assertions match, 8 do not; 1 more could not be judged
A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.
| Why some could not be judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property font-feature-settings value '"swsh" calc(1em / 1px)' | "swsh" 10 | "swsh" 100 | Fails |
Property font-palette value 'ident("--test-" calc(1em / 1px))' | --test-10 | <a value the parser rejects> | Fails |
Property font-size-adjust value 'calc(1em / 1px)' | 10 | 100 | Fails |
Property font-style value 'oblique calc(1em / 1px * 1deg)' | oblique 10deg | oblique 90deg | Fails |
Property font-variant-alternates value 'stylistic(ident("test-" calc(1em / 1px)))' | stylistic(test-10) | <a value the parser rejects> | Fails |
Property font-variation-settings value '"xhgt" calc(1em / 1px)' | "xhgt" 10 | "xhgt" 100 | Fails |
Property font-weight value 'calc(1em / 1px)' | 10 | 100 | Fails |
Property font-width value 'calc(1em / 1px * 1%)' | 10% | <a value the parser rejects> | Fails |
Property font-size value 'calc(1em / 1)' | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.