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

> Once you start styling `::contents`, you've forcibly overridden anything on the element itself

Not sure I follow, styling `::contents` should only affect `::contents` and possibly descendants of the element via inheritance. The styles of the element itself shouldn't change.

> we added multiple backgrounds, we are going to add multiple borders

And that's so nice, but there's still only one (principal) box around the descendants. This greatly restricts what one can do in layout-related areas.

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

Received on Thursday, 8 March 2018 17:09:01 UTC