object-position
same effect as Chrome: 5 of 5 examples match Chrome
css-images-3
The declaration changes our page the way it changes Chrome’s. What still differs between the two renderings was there before the declaration too, on the same page without it (mostly the fonts): no larger with it, or in the same places and no stronger.
What the specification says
| Initial value | 50% 50% |
|---|---|
| Applies to | replaced elements |
| Inherited | no |
| Percentages | refer to width and height of element itself |
| Computed value | as for background-position |
| Syntax | <position> |
The measurements
5 examples, all 5 match Chrome. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.
object-position:right 20px top 20px
same effect as Chrome

| Pixels that differ from Chrome | 3,274 |
|---|---|
| The same, on the page without the declaration | 3,734 |
| Largest difference on one colour channel | 87 of 255 |
| The same, on the page without the declaration | 87 of 255 |
The pages differ by 3,274 pixels with the declaration and by 3,734 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
object-position:left 20px top 20px
same effect as Chrome

| Pixels that differ from Chrome | 3,274 |
|---|---|
| The same, on the page without the declaration | 3,734 |
| Largest difference on one colour channel | 87 of 255 |
| The same, on the page without the declaration | 87 of 255 |
The pages differ by 3,274 pixels with the declaration and by 3,734 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
object-position:left 20px
same effect as Chrome

| Pixels that differ from Chrome | 3,434 |
|---|---|
| The same, on the page without the declaration | 3,734 |
| Largest difference on one colour channel | 87 of 255 |
| The same, on the page without the declaration | 87 of 255 |
The pages differ by 3,434 pixels with the declaration and by 3,734 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
object-position:20px, object-position:20px top
same effect as Chrome

| Pixels that differ from Chrome | 3,574 |
|---|---|
| The same, on the page without the declaration | 3,734 |
| Largest difference on one colour channel | 87 of 255 |
| The same, on the page without the declaration | 87 of 255 |
The pages differ by 3,574 pixels with the declaration and by 3,734 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 53 branches, and 5 of them carry a measurement.
| Value | Measured |
|---|---|
left | not measured |
center | not measured |
right | not measured |
top | not measured |
bottom | not measured |
x-start | not measured |
x-end | not measured |
y-start | not measured |
y-end | not measured |
block-start | not measured |
block-end | not measured |
inline-start | not measured |
inline-end | not measured |
20px | same effect as Chrome |
50% | not measured |
left top | not measured |
center top | not measured |
right top | not measured |
x-start top | not measured |
x-end top | not measured |
left center | not measured |
left bottom | not measured |
left y-start | not measured |
left y-end | not measured |
20px top | same effect as Chrome |
50% top | not measured |
left 20px | same effect as Chrome |
left 50% | not measured |
block-start inline-start | not measured |
center inline-start | not measured |
block-end inline-start | not measured |
block-start center | not measured |
block-start inline-end | not measured |
start start | not measured |
center center | not measured |
end end | not measured |
left 20px top 20px | same effect as Chrome |
right 20px top 20px | same effect as Chrome |
x-start 20px top 20px | not measured |
x-end 20px top 20px | not measured |
left 50% top 20px | not measured |
left 20px bottom 20px | not measured |
left 20px y-start 20px | not measured |
left 20px y-end 20px | not measured |
left 20px top 50% | not measured |
block-start 20px inline-start 20px | not measured |
block-end 20px inline-start 20px | not measured |
block-start 50% inline-start 20px | not measured |
block-start 20px inline-end 20px | not measured |
block-start 20px inline-start 50% | not measured |
start 20px start 20px | not measured |
end 20px end 20px | not measured |
start 50% start 50% | not measured |
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured