[csswg-drafts] [selectors-4] `:is()` and `:where()` not allowed inside `:not()`? (#9038)

miragecraft has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] `:is()` and `:where()` not allowed inside `:not()`? ==
Just looking for clarification.

I find that selector such as 

`.select *:not(.select :is(.deselect,  .deselect *))`

gets parsed as

`.select *:not(.select .deselect, .deselect *)` instead of `.select *:not(.select .deselect, .select .deselect *)`.

in both Chrome and Firefox (figured out using trial and error).

Is this because this usage is not supported?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9038 using your GitHub account


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

Received on Thursday, 6 July 2023 01:18:09 UTC