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: Dan Burzo via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Aug 2020 21:34:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-675127431-1597700095-sysbot+gh@w3.org>
Drive-by comment: seems that in Firefox 78+, and the upcoming Safari 14 (currently in the Technology Preview stage), the `:is()` and `:where()` pseudo-classes become invalid when an invalid selector is included in the list. For example, `document.querySelectorAll('div:is(div, :bogus)')` throws in both.

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


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

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