W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Apr 2017 23:09:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-293426072-1491952158-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC