Skip to content
Skip the list of specifications

css/css-paint-api/parsing/

paint-function-valid.https.html

Fails: 0 of 8 assertions match, 8 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-image'] = "paint(mypaint)" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint( mypaint )" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint(mypaint " should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint( mypaint" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint(mypaint, blue)" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint(mypaint, {})" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint(mypaint, [])" should set the property valueacceptedrejectedFails
e.style['background-image'] = "paint(mypaint, ())" should set the property valueacceptedrejectedFails

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