- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Dec 2018 01:01:45 +0000
- To: public-css-archive@w3.org
The problem today is that detecting whether a box is needed for a `::before` or `::after` is a very quick check of just two properties (`content` and `display`). What you're proposing would require either checking some arbitrary number of properties (to look for anything that would cause a non-default rendering), or just always creating a box. Also, I think it's quite common to style `::before` and `::after` quite generally with the assumption that those styles only apply to the pseudo-elements that are brought into existence by the `content` property. -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3419#issuecomment-446033338 using your GitHub account
Received on Tuesday, 11 December 2018 01:01:49 UTC