W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

Re: [csswg-drafts] [css-inline] A question for the procedure to compute the resolved value of "line-height" (#3749)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Mar 2019 17:19:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-475324234-1553188778-sysbot+gh@w3.org>
FWIW, what Gecko ends up doing is here:


Using the font metrics of the first available font as specified by the style of the element. The default value for what to do is 2, which is `eCompensateLeading`, so:



Then we adjust for the minimum font-size specified by the user (so that it's not reflected in the computed style), and for zoom here, though those are less interesting special-cases:


So no post-layout-dependent value for `normal`.

GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3749#issuecomment-475324234 using your GitHub account
Received on Thursday, 21 March 2019 17:19:40 UTC

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