Skip to content
Skip the list of specifications

offset-anchor

same effect as Chrome: 12 of 12 examples match Chrome

motion-1

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 valueauto
Applies totransformable elements
Inheritedno
Percentagesrelative to the width and the height of the element’s reference box
Computed valuethe auto keyword or a computed <position>
Syntaxauto | <position>

The definition in motion-1

The measurements

12 examples, all 12 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.

offset-anchor:left top

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:20px top

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:left 20px

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:left 20px top 20px

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:left bottom

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:left, offset-anchor:left center, offset-anchor:left 50%

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:top, offset-anchor:center top, offset-anchor:50% top

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

offset-anchor:right top

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has 54 branches, and 12 of them carry a measurement. At most 12 examples are published per property, so a branch past that is left out by our choice.

ValueMeasured
left
same effect as Chrome
centernot measured
rightnot measured
top
same effect as Chrome
bottomnot measured
x-startnot measured
x-endnot measured
y-startnot measured
y-endnot measured
block-startnot measured
block-endnot measured
inline-startnot measured
inline-endnot measured
20pxnot measured
50%not measured
left top
same effect as Chrome
center top
same effect as Chrome
right top
same effect as Chrome
x-start topnot measured
x-end topnot measured
left center
same effect as Chrome
left bottom
same effect as Chrome
left y-startnot measured
left y-endnot measured
20px top
same effect as Chrome
50% top
same effect as Chrome
left 20px
same effect as Chrome
left 50%
same effect as Chrome
block-start inline-startnot measured
center inline-startnot measured
block-end inline-startnot measured
block-start centernot measured
block-start inline-endnot measured
start startnot measured
center centernot measured
end endnot measured
left 20px top 20px
same effect as Chrome
right 20px top 20pxnot measured
x-start 20px top 20pxnot measured
x-end 20px top 20pxnot measured
left 50% top 20pxnot measured
left 20px bottom 20pxnot measured
left 20px y-start 20pxnot measured
left 20px y-end 20pxnot measured
left 20px top 50%not measured
block-start 20px inline-start 20pxnot measured
block-end 20px inline-start 20pxnot measured
block-start 50% inline-start 20pxnot measured
block-start 20px inline-end 20pxnot measured
block-start 20px inline-start 50%not measured
start 20px start 20pxnot measured
end 20px end 20pxnot measured
start 50% start 50%not measured
autonot 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