Re: [csswg-drafts] [selectors-4] Consider disallowing :has() outside the rightmost compound (#6845)

> I don't think it's unreasonable to have cases where you want it on something other than the last compound. For example, if you're using `:has()` to select a container, and then styling things _inside_ the container.

I agree.  As an author, I don’t know that I would use this a lot, but I’m sure there would be instances of this coming up with tables and forms, to pick just two scenarios.  I have a gut feeling it would come up in styling Web Components as well.

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


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

Received on Tuesday, 30 November 2021 21:17:45 UTC