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: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Apr 2017 00:15:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-295505742-1492647317-sysbot+gh@w3.org>
Yes, this is another instance of #1118, and I think will be solved by that when I address it in the way I suggested in <https://github.com/w3c/csswg-drafts/issues/1118#issuecomment-295144510>.

Namely, "text" becomes an object capable of having properties and interacting in inheritance. In bz's first example, the text inherits the "text-size: 50px" and sizes accordingly, regardless of the presence of `display:contents`.  His other questions are answered similarly - for all inherited properties, the text inherits its value from the span.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1249#issuecomment-295505742 using your GitHub account
Received on Thursday, 20 April 2017 00:15:29 UTC

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