Render Flow - Nth-child selector
[Parse CSS selector 'li:nth-child(2)'] -> [Match all <li> elements] -> [Check each <li> position in parent] -> [Apply styles to 2nd child only] -> [Repaint affected elements]
The browser reads the nth-child selector, finds all matching elements, checks their order among siblings, and applies styles only to those at the specified positions.