Skip to content
Skip the list of specifications

css/css-shapes/shape-functions/

xywh-function-valid.html

Passes: all 7 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'] = "xywh(0px 1px 2% 3em)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(0px calc(100% - 20px) 2% 3em)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(10px 20px 30px 25px round 100%)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(10px 20px 30px 25px round 0 1px)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(10px 20px 30px 25px round 0px 1px 2%)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(10px 20px 30px 25px round 0px 1px 2% 3em)" should set the property valueacceptedacceptedPasses
e.style['shape-outside'] = "xywh(10px 20px 30px 25px round 20% / 0px 1px 2% 3em)" should set the property valueacceptedacceptedPasses

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