Render Flow - Overflow property
Parse CSS rules
Match selector to element
Calculate box size
Check content size vs box size
Apply overflow property
Clip or add scrollbars
Paint visible content
Composite layers
The browser reads CSS rules, matches them to elements, then checks if the content fits inside the box. If content is too big, the overflow property decides if content is clipped, scrollbars appear, or content is visible outside.