WPT
wpt / css / css-backgrounds / parsing / background-position-y-valid.html
Spec: CSS Backgrounds ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-4611b (wpt@b89af32bc, 2026-09-05) | 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 | 12/15 | 12/15 | 15/15 | 12/15 | 12/15 | 12/15 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['background-position-y'] = "center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "top" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "y-start" should set the property value | FAIL | FAIL | PASS | FAIL | FAIL | FAIL |
| e.style['background-position-y'] = "y-end" should set the property value | FAIL | FAIL | PASS | FAIL | FAIL | FAIL |
| e.style['background-position-y'] = "-20%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "0.5em" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "calc(10px - 0.5em)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "top -20%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "bottom 10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "-20%, 10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "center, top, bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position-y'] = "0.5em, y-start, y-end" should set the property value | FAIL | FAIL | PASS | FAIL | FAIL | FAIL |
| e.style['background-position-y'] = "calc(10px - 0.5em), top -20%, bottom 10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |