css/css-box/parsing/
margin-invalid.html
Passes: all 7 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['margin'] = "available" should not set the property value | Passes | ||
e.style['margin'] = "10px border-box" should not set the property value | Passes | ||
e.style['margin'] = "1% 2% 3% 4% 5%" should not set the property value | Passes | ||
e.style['margin-top'] = "calc(2em + 3ex) auto" should not set the property value | Passes | ||
e.style['margin-right'] = "auto calc(2em + 3ex) 20%" should not set the property value | Passes | ||
e.style['margin-bottom'] = "10px 20% calc(2em + 3ex) auto" should not set the property value | Passes | ||
e.style['margin-bottom-left'] = "none" 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.