v151 · css · anchor-positioning

Anchor Default Behavior

Two tooltips, each anchored to a button. The left relies purely on the normal default (no position-anchor declared); the right explicitly sets position-anchor: auto. Both should anchor correctly because normal resolves to auto when position-area is set.

Implicit — relies on normal default (no position-anchor set)

Tooltip using position-area — no position-anchor declared, relies on the normal initial

Explicit — position-anchor: --btn-b (for comparison)

Tooltip using position-area + explicit position-anchor

The computed position-anchor value will show whether normal is the resolved initial.

references

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗