WPT
wpt / css / css-masking / parsing / mask-position-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@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 23/23 | 23/23 | 23/23 | 23/23 | 0/23 | 23/23 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['mask-position'] = "10%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "right 30% top 60px" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "-20% -30px" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "30px center" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "40px top" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "bottom 10% right 20%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "bottom right" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "center 50px" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "center bottom" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "center left" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "left" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "left bottom" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "right 40%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "top" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "top center" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "center" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "bottom left, right 20%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "top, center, left" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "20% 0%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "0% 0%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "0%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "0% center" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |
| e.style['mask-position'] = "center 0%" should set the property value | PASS | PASS | PASS | PASS | FAIL | PASS |