Re: [csswg-drafts] [css-pseudo-4] ::selection vs ::inactive-selection (#4579)

The second would be easier to implement since that would make it similar to the other selection-related pseudos in that they are all layered in a particular order.  We don't currently have any cascading between pseudo-elements (I think?) so that would be something a little more complex to support.

But layered selections would make it impossible to, say, give active selections one semi-transparent color and inactive selections a different semi-transparent color.

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

Received on Wednesday, 18 December 2019 05:17:28 UTC