Open
Description
CSS2 defines vertical-align: baseline
like so (emphasis mine): Align the baseline of the box with the baseline of the parent box. If the box does not have a baseline, align the bottom margin edge with the parent’s baseline.
This is great if the parent's baseline is the alphabetic baseline. But if we're using a central baseline because the parent's text is CJK, what you really want is to align the box's midline (halfway between the top and bottom margin edges?) with the parent's central baseline.
The workaround is to use vertical-align: middle
, but that doesn't actually do what you want and you have to tweak by hand with margin and padding to get it right, which is very brittle.