Re: [csswg-drafts] [css-pseudo-4] highlight inheritance compat confirmation (#6774)

I think `::selection { background-color: <something>; color: currentColor; }` (that is, the test-case above) should not change the color of the element that is selected.

It's a common way to implement selections that work well on both light and dark mode for example, by providing a semi-transparent background color...

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 28 October 2021 12:03:34 UTC