css/css-viewport/zoom/parsing/
zoom-computed-with-sign-expression.html
Fails: 9 of 11 assertions match, 2 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
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property zoom value 'calc(1 + (sign(2cqw - 10px) * 0.5))' | 0.5 | 1.5 | Fails |
Property zoom value 'calc(100% + (sign(2cqw - 10px) * 50%))' | 0.5 | 1.5 | Fails |
Property zoom value 'calc(1 + (sign(2cqw - 3cqw) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(5px - 10px) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(5 - 10) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(30deg - 40deg) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(3em - 5em) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(1cm - 1in) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(1 + (sign(1deg - 1rad) * 0.5))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(100% + (sign(1em - 30px) * 50%))' | 0.5 | 0.5 | Passes |
Property zoom value 'calc(100% + (sign(2cqw - 1em) * 50%))' | 0.5 | 0.5 | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.