shape-outside-computed.html
Details
- Test
/css/css-shapes/parsing/shape-outside-computed.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Property shape-outside value 'rect(0px 3em 2% 1px)' |
| PASS | Property shape-outside value 'rect(0px calc(100% - 20px) 2% 3em)' |
| PASS | Property shape-outside value 'rect(10px 20px 30px 25px round 20% / 0px 1px 2% 3em)' |
| PASS | Property shape-outside value 'circle(at 10% 20%)' |
| PASS | Property shape-outside value 'circle(at calc(75% + 0px) calc(75% + 0px))' |
| PASS | Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' |
| PASS | Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' |
| PASS | Property shape-outside value 'circle(at top 0% right calc(10% * sign(1em - 1px)))' |
| FAIL | Property shape-outside value 'circle(at top 0% right calc(10% * sibling-index()))' assert_true: 'circle(at top 0% right calc(10% * sibling-index()))' is a supported value for shape-outside. expected true got false |
| PASS | Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' |
| PASS | Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' |
| PASS | Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' |
| PASS | Property shape-outside value 'polygon(evenodd, -10px -20px, -30px -40px, -50px -60px) margin-box' |
| PASS | Property shape-outside value 'polygon(10% 20%, 30% 40%, 50% 60%) content-box' |
| PASS | Property shape-outside value 'polygon(calc(10px - 0.5em) 20%, 30% 40%, 50% calc(10px - 0.5em))' |
| FAIL | Property shape-outside value 'path('M 10 10 h 80 v 80 h -80 Z')' assert_equals: expected "path(\"M 10 10 H 90 V 90 H 10 Z\")" but got "path(\"M 10 10 h 80 v 80 h -80 Z\")" |
| FAIL | Property shape-outside value 'path('M10,10h80v80h-80z')' assert_equals: expected "path(\"M 10 10 H 90 V 90 H 10 Z\")" but got "path(\"M 10 10 h 80 v 80 h -80 Z\")" |
| FAIL | Property shape-outside value 'path(evenodd, 'M10,10h80v80h-80zM25,25h50v50h-50z')' assert_equals: expected "path(evenodd, \"M 10 10 H 90 V 90 H 10 Z M 25 25 H 75 V 75 H 25 Z\")" but got "path(evenodd, \"M 10 10 h 80 v 80 h -80 Z M 25 25 h 50 v 50 h -50 Z\")" |
| FAIL | Property shape-outside value 'path(nonzero, 'M10,10h80v80h-80z')' assert_equals: expected "path(\"M 10 10 H 90 V 90 H 10 Z\")" but got "path(\"M 10 10 h 80 v 80 h -80 Z\")" |
| PASS | Property shape-outside value 'path('M0,0L100,0L100,100Z')' |
| PASS | Property shape-outside value 'path('M0,0C30,60,70,60,100,0')' |
| PASS | Property shape-outside value 'path('M0,0Q50,100,100,0')' |
| PASS | Property shape-outside value 'path('M0,0A25,25,0,0,1,50,0')' |
| FAIL | Property shape-outside value 'shape(from 20px 40px, line to 20px 30px)' assert_true: 'shape(from 20px 40px, line to 20px 30px)' is a supported value for shape-outside. expected true got false |
| FAIL | Property shape-outside value 'shape(from 0 0, line to 100% 100%)' assert_true: 'shape(from 0 0, line to 100% 100%)' is a supported value for shape-outside. expected true got false |
| FAIL | Property shape-outside value 'shape(from 20px 40px, smooth to center 20%)' assert_true: 'shape(from 20px 40px, smooth to center 20%)' is a supported value for shape-outside. expected true got false |
| FAIL | Property shape-outside value 'shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close)' assert_true: 'shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close)' is a supported value for shape-outside. expected true got false |
| FAIL | Property shape-outside value 'shape(from 1em 2em, line to 3em 1em)' assert_true: 'shape(from 1em 2em, line to 3em 1em)' is a supported value for shape-outside. expected true got false |
| PASS | Property shape-outside value 'circle() content-box' |
| PASS | Property shape-outside value 'circle() padding-box' |
| PASS | Property shape-outside value 'circle() border-box' |
| PASS | Property shape-outside value 'circle() margin-box' |