Click here to download the Blitz Browser!

WPT

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

Spec: CSS Masking ↗

Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@e7122b73f, 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
Total9/99/98/99/90/99/9
SubtestChromeFirefoxSafariLadybirdServoBlitz
e.style['mask-size'] = "1px" should set the property valuePASSPASSFAILPASSFAILPASS
e.style['mask-size'] = "1px auto" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "2% 3%" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "auto" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "auto auto" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "auto 4%" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "contain" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "cover" should set the property valuePASSPASSPASSPASSFAILPASS
e.style['mask-size'] = "auto 1px, 2% 3%, contain" should set the property valuePASSPASSPASSPASSFAILPASS