Skip to content
Skip the list of specifications

css/css-images/parsing/

object-position-computed.html

Passes: all 16 assertions match; 1 more could not be judged

A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.

Why some could not be judgedAssertions
No assertion with written values to accept or reject1

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
Property object-position value '10% center'10% 50%10% 50%Passes
Property object-position value 'right 30% top 60px'70% 60px70% 60pxPasses
Property object-position value '-20% -30px'-20% -30px-20% -30pxPasses
Property object-position value '30px center'30px 50%30px 50%Passes
Property object-position value '40px top'40px 0%40px 0%Passes
Property object-position value 'right 20% bottom 10%'80% 90%80% 90%Passes
Property object-position value 'right bottom'100% 100%100% 100%Passes
Property object-position value 'center 50px'50% 50px50% 50pxPasses
Property object-position value 'center bottom'50% 100%50% 100%Passes
Property object-position value 'left center'0% 50%0% 50%Passes
Property object-position value 'left bottom'0% 100%0% 100%Passes
Property object-position value 'right 40%'100% 40%100% 40%Passes
Property object-position value 'center top'50% 0%50% 0%Passes
Property object-position value 'center'50% 50%50% 50%Passes
Property object-position value 'center center'50% 50%50% 50%Passes
Property object-position value 'right 20px bottom 10px'calc(100% - 20px) calc(100% - 10px)calc(100% - 20px) calc(100% - 10px)Passes

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