Skip to content
Skip the list of specifications

css/css-masking/parsing/

mask-invalid.html

Passes: all 13 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['mask'] = "none linear-gradient(to 0% 0%, rgb(0, 0, 0), rgb(0, 0, 255))" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "none alpha luminance" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "linear-gradient(to 0% 0%, rgb(0, 0, 0), rgb(0, 0, 255)) url(\"https://example.com/\")" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "1px 2px 3px" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "1px 2px 3px 4px" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "1px 2px / contain / cover" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "repeat-y repeat-x" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "stroke-box no-clip view-box" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "border-box view-box padding-box" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "no-clip border-box content-box" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "content-box stroke-box no-clip" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "margin-box" should not set the property valuerejectedrejectedPasses
e.style['mask'] = "add intersect" should not set the property valuerejectedrejectedPasses

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