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. For instance, just of the top of my head, it would allow you to have two borders: one on the element, and one on the pseudo containing the content. 

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

Received on Tuesday, 11 April 2017 00:17:12 UTC