Render Flow - Responsive images
Parse HTML <img> with srcset and sizes
Parse CSS max-width and width
Calculate viewport width
Select best image source from srcset
Apply CSS width constraints
Layout image box
Paint image with chosen source
Composite final page
The browser reads the HTML image element with srcset and sizes attributes, then uses CSS width rules and viewport size to pick the best image source and size to display, optimizing for screen size and resolution.