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: Fri, 21 Apr 2017 07:42:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-296111377-1492760522-sysbot+gh@w3.org>
> are the lines actually all spaced at the specified number?

Yes, we checked the box size in Inspector, divided by the number of lines and by the value of `line-height`, got the font size.

As far as I read CSS2, number is "multiplied by the element's font size" while `normal` is "based on the font of the element", so when I was reading Blink code, when number, the height affected only by font **size**, while when `normal`, affected by font **metrics** made sense to me. Do you see any errors?

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/938#issuecomment-296111377 using your GitHub account
Received on Friday, 21 April 2017 07:42:10 UTC

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