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: Wed, 12 Apr 2017 21:36:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-293714809-1492032965-sysbot+gh@w3.org>
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

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