Re: [csswg-drafts] [css-selectors] Proposal: `>>` combinator to ensure all elements between an ancestor and a descendant match a given selector (#11309)

> I think `@scope (.group:hover) to (.group)` is equivalent to mine, but indeed simpler.

I haven't actually tested it, but I don't think `.group:not(:hover)` would ever select anything because if an ancestor `group` is hovered, wouldn't all descendants also be? (Unless `pointer-events: none` is used somewhere or something is rendered under or outside the first group somehow.)

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


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

Received on Monday, 23 December 2024 19:08:04 UTC