css/css-shapes/parsing/
shape-outside-computed.html
Fails: 18 of 24 assertions match, 6 do not; 9 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 |
|---|---|
| A value the engine does not keep | 8 |
| 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 'rect(0px calc(100% - 20px) 2% 3em)' | inset(0px calc(0% + 20px) 98% 120px) | inset(0px calc(0% + 20px) 98% 120px) (round-trip → inset(0px 20px 98% 120px)) | Fails |
Property shape-outside value 'circle(at top 0% right calc(10% * sign(1em - 1px)))' | circle(at 90% 0%) | circle(at calc(100% - 10%) 0%) | Fails |
Property shape-outside value 'circle(at top 0% right calc(10% * sibling-index()))' | circle(at 90% 0%) | circle(at calc(100% - 10%) 0%) | Fails |
Property shape-outside value 'polygon(evenodd, -10px -20px, -30px -40px, -50px -60px) margin-box' | polygon(evenodd, -10px -20px, -30px -40px, -50px -60px) | polygon(-10px -20px, -30px -40px, -50px -60px) | Fails |
Property shape-outside value 'polygon(calc(10px - 0.5em) 20%, 30% 40%, 50% calc(10px - 0.5em))' | polygon(-10px 20%, 30% 40%, 50% -10px) | <a value the parser rejects> | Fails |
Property shape-outside value 'shape(from 0 0, line to 100% 100%)' | shape(from 0px 0px, line to 100% 100%) | shape(from 0% 0%, line to 100% 100%) | Fails |
Property shape-outside value 'rect(0px 3em 2% 1px)' | inset(0px calc(100% - 120px) 98% 1px) | inset(0px calc(100% - 120px) 98% 1px) | Passes |
Property shape-outside value 'rect(10px 20px 30px 25px round 20% / 0px 1px 2% 3em)' | inset(10px calc(100% - 20px) calc(100% - 30px) 25px round 20% / 0px 1px 2% 120px) | inset(10px calc(100% - 20px) calc(100% - 30px) 25px round 20% / 0px 1px 2% 120px) | Passes |
Property shape-outside value 'circle(at 10% 20%)' | circle(at 10% 20%) | circle(at 10% 20%) | Passes |
Property shape-outside value 'circle(at calc(75% + 0px) calc(75% + 0px))' | circle(at 75% 75%) | circle(at 75% 75%) | Passes |
Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' | circle(30px at -50% 50%) border-box | circle(30px at -50% 50%) border-box | Passes |
Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' | circle(0px at 50% -50%) border-box | circle(0px at 50% -50%) border-box | Passes |
Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' | ellipse(60% closest-side at 50% 50%) | ellipse(60% closest-side at 50% 50%) | Passes |
Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' | ellipse(30px 0px at -50% 50%) padding-box | ellipse(30px 0px at -50% 50%) padding-box | Passes |
Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' | ellipse(0px 30px at 50% -50%) border-box | ellipse(0px 30px at 50% -50%) border-box | Passes |
Property shape-outside value 'polygon(10% 20%, 30% 40%, 50% 60%) content-box' | polygon(10% 20%, 30% 40%, 50% 60%) content-box | polygon(10% 20%, 30% 40%, 50% 60%) content-box | Passes |
Property shape-outside value 'shape(from 20px 40px, line to 20px 30px)' | shape(from 20px 40px, line to 20px 30px) | shape(from 20px 40px, line to 20px 30px) | Passes |
Property shape-outside value 'shape(from 20px 40px, smooth to center 20%)' | shape(from 20px 40px, smooth to 50% 20%) | shape(from 20px 40px, smooth to 50% 20%) | Passes |
Property shape-outside value 'shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close)' | shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close) | shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close) | Passes |
Property shape-outside value 'shape(from 1em 2em, line to 3em 1em)' | shape(from 40px 80px, line to 120px 40px) | shape(from 40px 80px, line to 120px 40px) | Passes |
Property shape-outside value 'circle() content-box' | circle() content-box | circle() content-box | Passes |
Property shape-outside value 'circle() padding-box' | circle() padding-box | circle() padding-box | Passes |
Property shape-outside value 'circle() border-box' | circle() border-box | circle() border-box | Passes |
Property shape-outside value 'circle() margin-box' | circle() | circle() | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.