W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] Remove the "content" requirement for ::before and ::after? [css-pseudo] (#3419)

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Dec 2018 00:42:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-446029442-1544488929-sysbot+gh@w3.org>
The reason for this restriction is to avoid having to create `::before` and `::after` pseudo-elements for every element.  Removing it without a reasonable alternative would substantially increase the performance (at least one of speed and memory, and perhaps both) overhead of the feature.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3419#issuecomment-446029442 using your GitHub account
Received on Tuesday, 11 December 2018 00:42:11 UTC

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