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

One of the reasons I keep pushing back on proposals like this is because they break cascading. Once you start styling `::contents`, you've forcibly overridden anything on the element itself, even if those rules are higher in the cascade. For that reason, I'd rather we directly solved the problems that are currently being worked around, e.g. we added multiple backgrounds, we are going to add multiple borders, we're adding `min-content`/`max-content`/`fit-content` to `width`, and we have decided to apply gaps to flex items.

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

Received on Thursday, 8 March 2018 16:03:30 UTC