Skip to content
Skip the list of specifications

css/css-shapes/parsing/

shape-outside-shape-valid.html

Passes: all 12 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

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
e.style['shape-outside'] = "shape(from 20px 40px, line to 20px 30px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 0 0, line to 100% 100%)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, move to 20px 30px, line by 20px 30px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, move to 20px 30px, hline to 100px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, move to 20px 30px, vline to 100px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, curve to 20px 20px with 10px 30px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, curve to 10% 20% with 10px 30px / 12px 32px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, smooth to center 20%)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, arc by 20px 20px of 10%)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, arc by 20px 20px of 10% 20% cw large)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, arc by 20px 20px of 10% 20% cw rotate 12deg)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "shape(from 20px 40px, line to 100px 40px, line to 100px 100px, close)" should set the property valueacceptedacceptedPasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.