Re: [w3c/webcomponents] Selectors in ::slotted don’t change specificity (#728)

I think per spec pseudo-elements are only counted when computing specificity (there's no special rule for ::slotted):

https://drafts.csswg.org/selectors-4/#specificity-rules

That being said there are already other issues with specificity `css-scoping` selectors, and also of selectors that allow more than one argument: https://github.com/w3c/csswg-drafts/issues/2158, https://github.com/w3c/csswg-drafts/issues/1027, https://github.com/w3c/csswg-drafts/issues/1915.

It'd be nice to get this part of the spec properly defined to match both reality and / or what authors expect...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/728#issuecomment-362876667

Received on Sunday, 4 February 2018 03:09:34 UTC