Click here to download the Blitz Browser!

WPT

wpt / css / css-masking / parsing / mask-valid.sub.html

Spec: CSS Masking ↗

Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@4a01b83e3, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-70fb3 (wpt@4a01b83e3, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total45/5545/5550/5545/550/5530/55
SubtestChromeFirefoxSafariLadybirdServoBlitz
e.style['mask'] = "none" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "linear-gradient(to left bottom, red, blue)" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "linear-gradient(to left bottom, red, blue) luminance" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://web-platform.test/\")" should set the property valuePASSPASSPASSPASSFAIL
e.style['mask'] = "linear-gradient(to left bottom, red, blue) 1px 2px" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://web-platform.test/\") 1px 2px / contain" should set the property valuePASSPASSPASSPASSFAIL
e.style['mask'] = "repeat-y" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "border-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "linear-gradient(to left bottom, red, blue) padding-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "content-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://web-platform.test/\") fill-box" should set the property valuePASSPASSFAILPASSFAIL
e.style['mask'] = "linear-gradient(to left bottom, red, blue) stroke-box" should set the property valuePASSPASSFAILPASSFAILFAIL
e.style['mask'] = "view-box" should set the property valuePASSPASSFAILPASSFAILFAIL
e.style['mask'] = "no-clip" should set the property valuePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "url(\"https://web-platform.test/\") add" should set the property valuePASSPASSPASSPASSFAIL
e.style['mask'] = "subtract" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://web-platform.test/\") intersect" should set the property valuePASSPASSPASSPASSFAIL
e.style['mask'] = "linear-gradient(to left bottom, red, blue) exclude" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "alpha" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://web-platform.test/\") alpha" should set the property valuePASSPASSPASSPASSFAIL
e.style['mask'] = "border-box border-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "content-box content-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "border-box content-box" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "border-box no-clip" should set the property valuePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "intersect no-clip space round 1px 2px / contain stroke-box linear-gradient(to left bottom, red, blue) luminance" should set the property valuePASSPASSFAILPASSFAILFAIL
e.style['mask'] = "intersect no-clip space round 1px 2px / contain view-box, stroke-box linear-gradient(to left bottom, red, blue) luminance" should set the property valuePASSPASSFAILPASSFAILFAIL
e.style['mask'] = "none alpha" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-border-outsetFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none" should set mask-border-repeatFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none" should set mask-border-sliceFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none" should set mask-border-sourceFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none" should set mask-border-widthFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none" should set mask-clipPASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-compositePASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-imagePASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-modePASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-originPASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-positionPASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-repeatPASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should set mask-sizePASSPASSPASSPASSFAILPASS
e.style['mask'] = "none" should not set unrelated longhandsPASSPASSPASSPASSFAILPASS
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-border-outsetFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-border-repeatFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-border-sliceFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-border-sourceFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-border-widthFAILFAILPASSFAILFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-clipPASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-compositePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-imagePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-modePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-originPASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-positionPASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-repeatPASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should set mask-sizePASSPASSPASSPASSFAILFAIL
e.style['mask'] = "none, linear-gradient(to left bottom, red, blue) padding-box" should not set unrelated longhandsPASSPASSPASSPASSFAILPASS
e.style['mask'] = "url(\"https://{{host}}/\")" should set the property valuePASS
e.style['mask'] = "url(\"https://{{host}}/\") 1px 2px / contain" should set the property valuePASS
e.style['mask'] = "url(\"https://{{host}}/\") fill-box" should set the property valueFAIL
e.style['mask'] = "url(\"https://{{host}}/\") add" should set the property valuePASS
e.style['mask'] = "url(\"https://{{host}}/\") intersect" should set the property valuePASS
e.style['mask'] = "url(\"https://{{host}}/\") alpha" should set the property valuePASS