css/css-images/parsing/
object-position-valid.html
Passes: all 18 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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['object-position'] = "10%" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "right 30% top 60px" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "-20% -30px" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "30px center" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "40px top" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "bottom 10% right 20%" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "bottom right" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "center 50px" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "center bottom" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "center left" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "left" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "left bottom" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "left center" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "right 40%" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "top" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "top center" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "center" should set the property value | accepted | accepted | Passes |
e.style['object-position'] = "center center" should set the property value | accepted | accepted | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.