Re: [csswg-drafts] [selectors-4] Consider disallowing logical combination pseudo-classes inside :has() (#6952)

The nested case `:has(:has(foo))` is now disallowed in WebKit but the other logical combination pseudo-classes are still allowed. The performance of using those is not optimal but we can probably live with that for now. 

I think the nested case should be disallowed by the spec. No one seems to have came up with any real uses for that.

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


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

Received on Thursday, 20 January 2022 13:11:32 UTC