- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Mon, 11 Aug 2025 20:49:07 +0000
- To: public-css-archive@w3.org
> You can solve it by applying the anchor-name: --x onto .selected only when its parent .action-bar does not have a :hover, :focus. Yeah, that's the "you have to do some awkward :has() rules" thing I mentioned. > One question though: wouldn’t this be covered by [first-valid()](https://drafts.csswg.org/css-values-5/#first-valid)? No, they're all grammatically valid. It's only at layout time that we discover we need to do anchor fallback. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12576#issuecomment-3176848299 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 11 August 2025 20:49:08 UTC