Why does line-height affect space above and below text, not just between lines?
Line-height sets the total height of each line box, which includes space above and below the text baseline, so it affects vertical spacing around each line, not just the gap between lines. See render_steps 1 and 3 where spacing grows evenly.
š” Think of line-height as the height of each text row's box, not just the gap.
Why does line-height accept numbers without units and still work?
A unitless number multiplies the font size to set line box height, making spacing scale automatically if font size changes. This is why 'line-height: 2' doubles spacing relative to font size. See property_table for number values.
š” Unitless line-height scales with font size; lengths are fixed.
Why doesn't line-height change the font size?
Line-height only changes the vertical space around text lines, not the size of the letters themselves. The font size stays the same, but lines get more or less vertical room. See render_steps 1 and 3 for difference.
š” Line-height controls spacing, font-size controls letter size.