W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-inline] Consistent vertical positioning of large and medium-sized text across OSs

From: Tobi Reif via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Feb 2018 17:57:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-366310641-1518803869-sysbot+gh@w3.org>
Thanks for caring!

> Does this happen for all fonts?

To the extreme extent shown in the screenshots it happens to just a subset of the web-fonts I checked. But sometimes I do use fonts where it happens to that extreme extent, and for these cases it would be really great to have some (nice and quick to use) solution. It should be as easy as adding one line of CSS, without having to get the font metrics, for example 😀

> Do you get better results with line-height: normal or with less mixing of units?

Here's a version with line-height:normal and only em units (both regarding the h1):


Screenshot of that page in Chrome on MacOS:


Screenshot of that page in Chrome on Windows:


GitHub Notification of comment by tobireif
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2228#issuecomment-366310641 using your GitHub account
Received on Friday, 16 February 2018 17:57:53 UTC

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