- From: Mason Freed via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Feb 2025 17:11:56 +0000
- To: public-css-archive@w3.org
> > 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. Interesting observation - can you point to a couple examples? I'd like to check them out. I just checked the first three sites that came to mind that have nested menus (Github, Google docs, and Facebook) and none of those three do this. In fact, all three have different behaviors for sub-menus (which is unfortunate). Github only shows hover styles when the parent menu item itself is hovered, and not when the sub-menu it hovered. Google docs highlights the parent menu item while the sub-menu is open, regardless of where the mouse goes. And Facebook doesn't keep the parent menu open at all, it gets replaced by the sub-menu. > 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. Yeah, I'd be concerned if there might be breakage also, even if the fix is "easy". So examples would be great to have here. -- GitHub Notification of comment by mfreed7 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11185#issuecomment-2675108636 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 17:11:57 UTC