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

Re: [csswg-drafts] [selectors] Let :is() have better error-recovery behavior than normal Selectors (#3264)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 24 Aug 2020 17:35:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-679266873-1598290554-sysbot+gh@w3.org>
I'm happy to implement this in Gecko if people define in the spec how to deal with the empty-selector behavior. Like, should `:is(:nonsense)` serialize just as `:is()`? Should that be special-cased to never match?

Also, it may be a bit confusing if people write stuff like `:is(::before, ::after)`, and it gets turned to `:is()` instead of being rejected as invalid...

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3264#issuecomment-679266873 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 24 August 2020 17:36:00 UTC

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