Re: [csswg-drafts] [selectors-5] Add pseudo-class selector to target the element that initiated the outgoing navigation (#11801)

> the other semantics is probably caught closely enough by [`:local-link`](https://drafts.csswg.org/selectors-4/#the-local-link-pseudo) already, or perhaps more precisely `:local-link:visited`.

Using `:local-link:visited` won’t work here, because that one matches the current location, whereas with the requested `:navigation-trigger` would match the _next_ location.

Additionally, `:local-link` can match more than one element, whereas `:navigation-trigger` can match only one single element.

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


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

Received on Thursday, 21 August 2025 07:29:20 UTC