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

Re: [csswg-drafts] [css-display] Sort out interaction of "display:contents" with font-size and line-height

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Apr 2017 14:09:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-295751277-1492697355-sysbot+gh@w3.org>
Just a side note, my reading of the spec to think that the line box height should be the one of the text + 2 times the half-leading was from https://www.w3.org/TR/CSS21/visudet.html#inline-box-height:

> The height of the inline box encloses all glyphs and their half-leading on each side and is thus exactly 'line-height'. Boxes of child elements do not influence this height.

But of course that's contradictory with https://www.w3.org/TR/CSS21/visuren.html#anonymous in this case, in the case the font-size of the text should the one specified in the `display: contents` span.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1249#issuecomment-295751277 using your GitHub account
Received on Thursday, 20 April 2017 14:09:25 UTC

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