Re: [csswg-drafts] [selectors] The forgiving nature of :has breaks jQuery when used with a complex :has selector (#7676)

> I sort of agree with Lea that the current WebKit behavior here is the most sensible one. An empty selector list as a valid case is weird. Note however that only `:has` currently behaves like this, `:is`/`:where` has the spec behavior.

Good point. I was suggesting we do this for all `<forgiving-selector-list>` / `<forgiving-relative-selector-list>` instances, including in `:is()` and `:where()`.

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


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

Received on Wednesday, 7 December 2022 16:42:23 UTC