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

That reasoning is true for all pseudo-elements. For instance, '::after' only lets you add a single box at the end of an element's content, and removes your ability to use ::after for some other purpose. One could also argue that most actual use of ::before and ::after are hacks. 

The "hacks" described above would be nearly as useful as ::before and ::after, in a wide variety of circumstances. 

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

Received on Wednesday, 12 April 2017 21:38:14 UTC