Skip to content
Skip the list of specifications

css/css-shapes/shape-functions/

xywh-function-invalid.html

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

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