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

The fact that in WebKit `qSA('div:has(:foo)')` throws while `qSA('div:has(:foo, span)')` does not is more confusing to me than either not throwing in both cases or throwing in both. It'd be good to learn if there are any arguments for this split to be good for the Web before Chrome jumps in to copy WebKit here and that behavior has to be standardized.

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


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

Received on Friday, 2 September 2022 22:49:30 UTC