Re: [csswg-drafts] [css-pseudo] Add a ::contents pseudo-element

@inoas I also support adding a pseudo-element to select text nodes (#2208). There is overlap in the case of an element which only contains text, but other than this `::text` and `::contents` are different features.

> Is there already a `display` mode for text?

Text has no [display type](https://drafts.csswg.org/css-display-3/#display-type) but in https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-359468226 I proposed `display: contents` for `::text`.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2406#issuecomment-371573083 using your GitHub account

Received on Thursday, 8 March 2018 18:09:06 UTC