Skip to content
Skip the list of specifications

css/css-values/

percentage-without-context.html

Fails: 10 of 12 assertions match, 2 do not

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['background'] = "linear-gradient(calc(sign(50%) * 1turn), #3f87a6, #ebf8e1, #f69d3c)" should not set the property valuerejectedacceptedFails
e.style['background'] = "conic-gradient(from calc(sign(50%) * 1rad) at 10% 50%, #e66465, #9198e5)" should not set the property valuerejectedacceptedFails
e.style['font-style'] = "oblique calc(sign(50%) * 1deg)" should not set the property valuePasses
e.style['filter'] = "hue-rotate(calc(sign(50%) * 1deg))" should not set the property valuePasses
e.style['offset-rotate'] = "calc(sign(50%) * 1deg)" should not set the property valuePasses
e.style['offset-path'] = "ray(calc(sign(50%) * 1deg))" should not set the property valuePasses
e.style['color'] = "hsl(calc(sign(50%) * 1deg) 82% 43%)" should not set the property valuePasses
e.style['transform'] = "rotate(calc(sign(50%) * 1deg))" should not set the property valuePasses
e.style['animation-duration'] = "calc(sign(50%) * 1s)" should not set the property valuePasses
e.style['animation-delay'] = "calc(sign(50%) * 1s)" should not set the property valuePasses
e.style['transition-duration'] = "calc(sign(50%) * 1s)" should not set the property valuePasses
e.style['transition-delay'] = "calc(sign(50%) * 1s)" should not set the property valuePasses

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