W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

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

From: andruud via GitHub <sysbot+gh@w3.org>
Date: Sun, 04 Oct 2020 17:41:32 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-714363987-1601833291-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC