Re: [csswg-drafts] [css-ui] select:hover and select:active styles (#11185)

> I guess it depends on what you mean by "broken". What I see in that demo is that hovering one of the popover sub-menus causes the triggering button to also get :hover styles. To me, that seems "broken", so in my view the above proposal will "fix" it.

Well, that is how nested menus look on the web. Note that the styling is on the `li`, not the `button`. The `button` is only there for purpose simplifying the demo.
Menus' stying differs from the select use-case in that it keeps the highlight of `:hover` should span the entire branch including the root.

It's fine if this can be easily fixed with a proper selector. I think it's less fine if authors actually used this method to create menus and the solution proposed here will break their styling.

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


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

Received on Friday, 21 February 2025 14:21:23 UTC