*Summary*:

  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.

I intend to prototype this out in Gecko.

*Bug*:
  https://bugzilla.mozilla.org/show_bug.cgi?id=1654861.

*Specification*:
  https://drafts.csswg.org/selectors/#the-local-link-pseudo

*Standards Body*:
  CSSWG

*Platform coverage*:
  all.

*Preference*:
  dom.local_link_pseudo.enabled

*DevTools bug*:
 n/a.

*Link to standards-positions discussion*:
  https://github.com/mozilla/standards-positions/issues/862.

*Other browsers*:
  Blink: Prototyping.
  WebKit: No Signals (https://github.com/WebKit/standards-positions/issues/405).


*web-platform-tests*:
  These will be written alongside implementing the feature.

-- 
You received this message because you are subscribed to the Google Groups 
"dev-platform@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-platform+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/5b23f5cf-15a7-490b-8e21-a5a7861187a1%40app.fastmail.com.

Reply via email to