[csswg-drafts] [selectors] Restrict :is/:where/etc based on context (#5581)

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

== [selectors] Restrict :is/:where/etc based on context ==
By default, :is() (and friends) accept complex selectors. However, we likely want to narrow what is allowed inside :is() based on the context where it's used. For example, for :host(:is(...)), only compound selectors should be allowed, and for ::before:is(...), only user action pseudo-classes.

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


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

Received on Sunday, 4 October 2020 17:41:33 UTC