Re: [csswg-drafts] [css-pseudo] ::selection style propagation section doesn't reflect reality in any way.

That depends: do we want `p::selection` to work as authors would expect, or do we want only unqualified `::selection` selectors to be usable? In current implementations, the introduction of even an unstyled `<span>` breaks any form of targeted selection styling. This violates the generally-applied invariant in CSS that an unstyled inline element has no effect on rendering.

(The current spec, btw, is an attempt to reflect <a href="https://lists.w3.org/Archives/Public/www-style/2014Dec/0299.html">these discussions</a>.)

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2474#issuecomment-376222339 using your GitHub account

Received on Monday, 26 March 2018 16:12:48 UTC