Alignment is preserved
The anchor side stays fixed. The opposite side moves in.
Text aligned
Left
Hello world
280 × 90
Hello world
auto × 90
Left edge stays put.
Right edge moves in.
Text aligned
Center
Hello world
280 × 90
Hello world
auto × 90
Center stays put.
Both edges move inward.
Text aligned
Right
Hello world
280 × 90
Hello world
auto × 90
Right edge stays put.
Left edge moves in.
Anchor — the side that stays fixed
Original bounds before auto sizing
Edge that moves inward
w × h
Live size readout