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: Brad Kemper via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Apr 2017 00:17:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-293114227-1491869824-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. 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

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