css/css-anchor-position/
anchor-size-parse-valid.html
Passes: all 6 assertions match; 1 more could not be judged
A parsing check: each value the parser must accept or reject.
| Why some could not be judged | Assertions |
|---|---|
| 7 calls with non-literal arguments | 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 |
|---|---|---|---|
e.style['width'] = "anchor-size()" should set the property value | Passes | ||
e.style['width'] = "anchor-size(--foo)" should set the property value | Passes | ||
e.style['width'] = "anchor-size(--foo, 10px)" should set the property value | Passes | ||
e.style['width'] = "anchor-size(10px)" should set the property value | Passes | ||
e.style['width'] = "anchor-size(--foo width, 0)" should set the property value | Passes | ||
e.style['width'] = "calc(anchor-size(--foo width, 0))" should set the property value | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.