css/css-fonts/parsing/
font-size-adjust-computed.html
Fails: 12 of 13 assertions match, 1 does not; 6 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 |
|---|---|
| A value the engine does not keep | 4 |
| No assertion with written values to accept or reject | 1 |
| The script builds the values it asserts | 1 |
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property font-size-adjust value 'cap-height calc(10 + (sign(20cqw - 10px) * 5))' | cap-height 5 | cap-height 15 | Fails |
Property font-size-adjust value 'none' | none | none | Passes |
Property font-size-adjust value '0.5' | 0.5 | 0.5 | Passes |
Property font-size-adjust value 'ex-height 0.5' | 0.5 | 0.5 | Passes |
Property font-size-adjust value 'cap-height 0.8' | cap-height 0.8 | cap-height 0.8 | Passes |
Property font-size-adjust value 'ch-width 0.4' | ch-width 0.4 | ch-width 0.4 | Passes |
Property font-size-adjust value 'ic-width 0.9' | ic-width 0.9 | ic-width 0.9 | Passes |
Property font-size-adjust value 'ic-height 1.1' | ic-height 1.1 | ic-height 1.1 | Passes |
Property font-size-adjust value 'calc(0.5)' | 0.5 | 0.5 | Passes |
Property font-size-adjust value 'ex-height calc(0.5)' | 0.5 | 0.5 | Passes |
Property font-size-adjust value 'cap-height calc(0.5)' | cap-height 0.5 | cap-height 0.5 | Passes |
Property font-size-adjust value 'cap-height calc(0.5 + 1)' | cap-height 1.5 | cap-height 1.5 | Passes |
Property font-size-adjust value 'cap-height calc(-0.5)' | cap-height 0 | cap-height 0 | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.