Re: [csswg-drafts] [css-rhythm-1] Avoiding accidental double spacing

So on further consideration, maybe font fallback isn't as much of a problem as I thought.

In particular, line-height-step isn't actually aligning baselines to even spacing; it's aligning the line boxes.  Font fallback can cause the position of the baseline to vary within the line box, but maybe that just leads to slight baseline jitter rather than accidental double spacing.  Maybe that's not so bad.  (Although it's not great that it would defer having a solution for real baseline snapping.)

Then I think the remaining question is that we don't actually know what `line-height: normal` means (#1254), and which fonts' metrics it considers.  If all of the font metrics that could ever be considered for `line-height: normal` are considered when evaluating the step length from `line-height-step: <number>` as I propose above, then I think things would be ok.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/938#issuecomment-295747854 using your GitHub account

Received on Thursday, 20 April 2017 13:59:18 UTC