css/css-values/
calc-invalid-parsing.html
Passes: all 6 assertions match
A parsing check: each value the parser must accept or reject.
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 |
|---|---|---|---|
e.style['transform'] = "rotate(calc((0.25turn error)))" should not set the property value | Passes | ||
e.style['width'] = "calc(7px * up)" should not set the property value | Passes | ||
e.style['width'] = "round(nearest, 1px, 1px, 1px)" should not set the property value | Passes | ||
e.style['width'] = "round(nearest, 1px)" should not set the property value | Passes | ||
e.style['width'] = "calc([])" should not set the property value | Passes | ||
e.style['width'] = "calc( [])" should not set the property value | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.