- From: rgpublic via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jul 2024 17:04:45 +0000
- To: public-css-archive@w3.org
+1 for :focus-visible-within. It's just intuitive and easier to write than :has(...). We already have :focus-within (because you don't always want to style the focus outline on the element itself) and we have :focus-visible (because most of the time you want the focus outline only to appear for keyboard users). These two things are totally separate requirements that have nothing to do with each other. So it should be possible to combine them. I was actually quite surprised to find that :focus-visible-within doesn't exist. If we add :not(...) to the mix we could avoid another nesting-level and keep things simple. Just my 0,02€. -- GitHub Notification of comment by rgpublic Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3080#issuecomment-2233783095 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 July 2024 17:04:46 UTC