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

I think `display: contents` would be saner if each contiguous run of text that is directly contained inside an element with `display: contents` was wrapped in an anonymous inline element. That anonymous element would inherit from the element with `display: contents`, not through the box tree. I think this would also solve #1118.

This would have implications like Foo and Bar becoming distinct flex items in

    <div style="display:flex">Foo<span style="display: contents">Bar</span></div>

which I don't think is bad.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 19 April 2017 20:54:33 UTC