css/css-shapes/shape-functions/
xywh-function-computed.html
Fails: 6 of 7 assertions match, 1 does 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 shape-outside value 'xywh(0px calc(100% - 20px) 2% 3em)' | inset(calc(100% - 20px) 98% calc(0% - 28px) 0px) | inset(calc(100% - 20px) 98% calc(0% - 28px) 0px) (round-trip → inset(calc(100% - 20px) 98% -28px 0px)) | Fails |
Property shape-outside value 'xywh(0px 1px 2% 3em)' | inset(1px 98% calc(100% - 49px) 0px) | inset(1px 98% calc(100% - 49px) 0px) | Passes |
Property shape-outside value 'xywh(10px 20px 30px 25px round 100%)' | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 100%) | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 100%) | Passes |
Property shape-outside value 'xywh(10px 20px 30px 25px round 0 1px)' | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px) | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px) | Passes |
Property shape-outside value 'xywh(10px 20px 30px 25px round 0px 1px 2%)' | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px 2%) | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px 2%) | Passes |
Property shape-outside value 'xywh(10px 20px 30px 25px round 0px 1px 2% 3em)' | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px 2% 48px) | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 0px 1px 2% 48px) | Passes |
Property shape-outside value 'xywh(10px 20px 30px 25px round 20% / 0px 1px 2% 3em)' | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 20% / 0px 1px 2% 48px) | inset(20px calc(100% - 40px) calc(100% - 45px) 10px round 20% / 0px 1px 2% 48px) | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.