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

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

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Apr 2017 09:44:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-292900780-1491817477-sysbot+gh@w3.org>
See [10.6.1 Inline, non-replaced elements](https://drafts.csswg.org/css2/visudet.html#inline-non-replaced)
> If more than one font is used (this could happen when glyphs are found in different fonts), the height of the content area is not defined by this specification. However, we suggest that the height is chosen such that the content area is just high enough for either (1) the em-boxes, or (2) the maximum ascenders and descenders, of all the fonts in the element. Note that this may be larger than any of the font sizes involved, depending on the baseline alignment of the fonts.

If UA chose to do (2), "all the fonts in the element" depends on text, and that's all 4 browsers do today.

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/938#issuecomment-292900780 using your GitHub account
Received on Monday, 10 April 2017 09:44:45 UTC

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