W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

Re: [csswg-drafts] [css21][css-inline] Position of the baseline inline-level boxes with non normal line-height

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Sep 2017 01:50:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-328707794-1505181019-sysbot+gh@w3.org>
This, combined with https://github.com/w3c/csswg-drafts/issues/1797, means that CSS21's "10.8.1 Leading and half-leading" is incorrect, and in particular its especially the 3rd paragraph, since that effectively describes the black behavior in [the Tokyo diagram](https://lists.w3.org/Archives/Public/www-archive/2017Apr/att-0008/IMG_20170421_173959.jpg). The first sentence of the fourth paragraph is incorrect as well (paraphrase: "therefore, [something that does not result from what we just said]), and should be dropped as well.

These third paragrpahs and first sentence of the 4th one should be replaced with something like:
> When the value of the `line-height` property is something other than `normal`, determine the leading L to add, where L = 'line-height' - AD of the first available font. Half the leading is added above A of first available font and the other half below D of first available font, 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. Glyphs from fonts other that the first available font do not impact the height of the inline box.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1801#issuecomment-328707794 using your GitHub account
Received on Tuesday, 12 September 2017 01:50:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:17 UTC