- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Nov 2024 23:30:49 +0000
- To: public-css-archive@w3.org
Hm, for the ancestors case I've seen both behaviors; for example, in a ToC scroll indicator, I've seen both "just indicate the single most relevant entry" and "indicate the most relevant entry and all ancestors, since you're also in them"; I think the latter is sometimes done with a slightly different styling on the ancestors. We might want to track and expose both of these concepts; select the single most relevant marker in a group and let it match `:target-current`, but also define a `:target-current-all` pseudo that'll match the current target, its ancestors (if they're also possible scroll markers in the group) and other scroll markers that could in theory be considered "relevant", except that another visible marker target is already considered more relevant. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11098#issuecomment-2492562593 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 November 2024 23:30:50 UTC