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

> 2. Give up on forgiving-selector-list entirely, switching :is() and :has() to the unforgiving behavior, and never using it again.

@tabatkins What about the following?

2b. Don't give up on forgiving-selector-list entirely, but spec the current Safari behavior. I.e. make :has() invalid if _all_ the arguments are invalid.

... provided that it avoids enough problems to be worth it. (As I understand it doesn't fully solve the issue).

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


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

Received on Tuesday, 6 September 2022 18:40:24 UTC