- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Jul 2023 09:12:59 +0000
- To: public-css-archive@w3.org
> > If invalid selectors are no longer dropped, `:is()` without arguments does no longer seem needed. > > `:is(), valid {}` would become invalid, isn't it? Is it ok regarding back-compatibility? Probably, since the only reasonable use-case for `:is()` is "all the other selectors were dropped". But we could keep `:is()` working, if needed for compat. > Isn't it also easier to serialize all selectors as is? Not really, because then you need to preserve the specified string. Also it would be a pretty big behavior change (e.g. `.foo /* whatever */ .bar` would serialize as-is rather than with whitespace normalized and comments removed. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8356#issuecomment-1651314495 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 July 2023 09:13:00 UTC