#998: CSS Selectors 4; :local-link
Discussions
2024-10-14
This name is confusing, but apparently not everyone thinks that.
We'll discuss in Plenary: should Jeffrey's issue be "promoted" to coming from the TAG and not just himself? (Everyone present in this breakout believes we should.)
OpenedSep 30, 2024
こんにちは TAG-さん!
I'm requesting a TAG review of the
:local-link
pseudo class.The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site. It represents an element that is the source anchor of a hyperlink whose target’s absolute URL matches the element’s own document URL. If the hyperlink’s target includes a fragment URL, then the fragment URL of the current URL must also match; if it does not, then the fragment URL portion of the current URL is not taken into account in the comparison.
Further details:
You should also know that...
I'll be implementing a prototype this week in Chrome/Firefox/WebKit.