Skip to content
Skip the list of specifications

css/css-backgrounds/parsing/

background-position-invalid.html

Passes: all 11 assertions match

A parsing check: each value the parser must accept or reject.

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
e.style['background-position'] = "left right" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "top bottom" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "1% center 2px" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "right 7% 50%" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "50% top 8px" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "left 10px 50%" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "right 11% 100%" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "100% top 14%" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "50% top 15px" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "0% bottom 16%" should not set the property valuerejectedrejectedPasses
e.style['background-position'] = "right 19% 100%" should not set the property valuerejectedrejectedPasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.