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

I'd also note that in our discussion in the meeting yesterday morning, we misinterpreted what CSS2 says about how `line-height` works.  It does add the half-leading separately per-glyph, rather than computing the half-leading based on the `line-height` and the already-unioned content-box bounds.  In particular, [ยง10.8.1 Leading and half-leading](https://drafts.csswg.org/css2/visudet.html#leading) says:
> Still for each glyph, determine the leading L to add, where L = 'line-height' - AD. Half the leading is added above A and the other half below D, giving the glyph and its leading a total height above the baseline of A' = A + L/2 and a total depth of D' = D + L/2.
> The height of the inline box encloses all glyphs and their half-leading on each side and is thus exactly 'line-height'. Boxes of child elements do not influence this height. 

I think this means font fallback remains a problem, i.e., I retract my retraction in https://github.com/w3c/csswg-drafts/issues/938#issuecomment-295747854.

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

Received on Friday, 21 April 2017 05:29:14 UTC