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

Yeah, for originating elements and the other pseudos (at least tree-abiding ones), color:currentColor just means color:inherit, but for highlights, color:currentColor jumps across to the same place in the next highlight tree (or the originating tree).

![currentColor](https://user-images.githubusercontent.com/465303/139268100-636c2461-d257-48f2-b9ed-2f22b92518bb.png)

The way I’ve made sense of it is that in both cases, color:currentColor effectively means “don’t change the color”. One is “don’t change the color in this child”, the other is “don’t change the color in this highlight”.

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