Re: [csswg-drafts] [css-content][css-pseudo][css-cascade] Does content:contents in pseudo affect inheritance?

> One use case for having 'content:contents' on a pseudo (and 'content:none' on the original element), is that it turns the original element into a wrapper box, which can be useful sometimes. 

That's a hack, tho - it only allows you to add a single wrapper, and it removes your ability to add ::before/::after to it.  This isn't a reasonable justification for the value.

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

Received on Tuesday, 11 April 2017 23:09:26 UTC