Skip to content
Skip the list of specifications

css/css-borders/tentative/parsing/

border-shape-invalid.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

A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.

AssertionExpectedGotVerdict
e.style['border-shape'] = "circle() none" should not set the property valuePasses
e.style['border-shape'] = "polygon(bla 10px 10px, 100px 10px, 10px 100px)" should not set the property valuePasses
e.style['border-shape'] = "shape()" should not set the property valuePasses
e.style['border-shape'] = "nonsense" should not set the property valuePasses
e.style['border-shape'] = "1px" should not set the property valuePasses
e.style['border-shape'] = "circle() padding-box margin-box" should not set the property valuePasses
e.style['border-shape'] = "padding-box margin-box" should not set the property valuePasses
e.style['border-shape'] = "padding-box" should not set the property valuePasses
e.style['border-shape'] = "padding-box circle()" should not set the property valuePasses
e.style['border-shape'] = "circle() padding-box margin-box circle()" should not set the property valuePasses
e.style['border-shape'] = "circle() padding-box circle() margin-box circle()" should not set the property valuePasses
e.style['border-shape'] = "circle() padding-box circle() margin-box padding-box" should not set the property valuePasses

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