Re: [csswg-drafts] [selectors] Match local links (#2010)

Hi @patrickdark @LeaVerou - I'm interested in the `:local-link` pseudo-selector for a use-case related to Sphinx single-page-HTML builds -- where most, if not all hyperlinks are local.

I understand that the feature was proposed for `selectors-4`, then [withdrawn and deferred to `selectors-5`](https://github.com/w3c/csswg-drafts/commit/7721f6e7af81d93b32c97fb89ae94cc0afe77ce1) and has been [restored to `selectors-4`](https://github.com/w3c/csswg-drafts/commit/e3093cf48c8fd26f90c4def71d587bfeff780243) with the suggested modifications (but remains pending in 5?).

I think the use-case is a fairly good match, although it has some quirks - it's about identifying 'current page' hyperlinks with a table-of-contents menu (seems to match the description here).

I'll probably spend a bit more time to collect thoughts, etc and then will open a question on the relevant mailing list, but wanted to register my interest here first.

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


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

Received on Sunday, 14 July 2024 17:33:37 UTC