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.

Under highlight inheritance, that would still be true — “currentColor on a highlight pseudo-element’s color property represents the color of the next highlight pseudo-element layer below” ([#highlight-text](https://drafts.csswg.org/css-pseudo-4/#highlight-text)). The test case in this issue is different, because there’s no color property in the ::selection rule.

-- 
GitHub Notification of comment by delan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6774#issuecomment-953785210 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:11:50 UTC