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

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