Re: [csswg-drafts] Request for a "checked-within" pseudo class (#3027)

Right. The `:*-within` family of pseudos mainly makes sense if `:has()` isn't expected to be implementable, otherwise it's syntactic sugar (unless the narrower version enables performance optimizations that the general mechanism doesn't). For the longest time, the assumption was indeed that `:has()` was not implementable in a performant way. It seems that [Safari is redefining expectations here](https://twitter.com/jensimmons/status/1473051429115940868), and that we may get `:has()` after all.



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


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

Received on Wednesday, 22 December 2021 08:47:35 UTC