Render Flow - Flex grow and shrink
[Parse CSS classes] -> [Identify flex container] -> [Apply flex-grow and flex-shrink to flex items] -> [Calculate available space] -> [Distribute space among items] -> [Layout items accordingly] -> [Paint and Composite]
The browser reads the flex container and its children, applies flex-grow and flex-shrink properties to decide how items expand or shrink, then calculates and distributes space before painting the final layout.