- From: Loirooriol via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 May 2017 20:19:05 +0000
- To: public-css-archive@w3.org
It's not much clear, but browsers seem to believe that `display: contents` should join different texts into a single run of text (#1281). Then, in the following example, "FooBar" would be a single flex item:
```html
<div>Foo</div>
```
```css
div { display: flex; justify-content: space-between }
div::after { content: 'Bar'; display: contents }
```
So in this case whether `::before` and `::after` support `display: contents` or not is observable by other means than box-related properties on the pseudo-elements.
I think `display: contents` should apply to these pseudo-elements.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1345#issuecomment-300600483 using your GitHub account
Received on Wednesday, 10 May 2017 20:19:12 UTC