WPT
wpt / css / css-backgrounds / parsing / background-position-valid.html
Spec: CSS Backgrounds ↗
Runs: Chrome 155.0.8042.0 (wpt@0a3996025, 2026-09-04) | Firefox 157.0a1 (wpt@972e0e100, 2026-09-04) | Safari 251 preview (wpt@972e0e100, 2026-09-04) | Ladybird 1.0-3fd2d (wpt@c29bd2aee, 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 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['background-position'] = "1px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "1px center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "-2% -3%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "5% top" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center 6px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center left" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center right 7%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center top 8px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "left" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "right 9%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "left 10px center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "right 11% bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "left 12px top 13px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "right center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "left bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "right top 14%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "bottom" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "top 15px center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "bottom 16% left" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "top 17px right 18px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "bottom center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "top left" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "bottom right 19%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "20% 0%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "0% 0%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "0%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "0% center" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['background-position'] = "center 0%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |