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

Pomax has just created a new issue for https://github.com/w3c/csswg-drafts:

== Remove the "content" requirement for ::before and ::after? [css-pseudo] ==
The draft spec for CSS4 pseudo-selects still state that ::before and ::after must have ` content` property with value that is not `none`, and while this might have made sense back in 2011, this seems a very strange requirement to preserve. 

Can https://drafts.csswg.org/css-pseudo-4/#generated-content be changed to finally make `content` as optional as any other CSS property? Especially given that `user-select: none` exists, which means ::before and ::after no longer need to be used as a hack to inject unselectable text anymore.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3419 using your GitHub account

Received on Tuesday, 11 December 2018 00:34:29 UTC