@@ -222,7 +222,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
222222 pseudo-classes: :link and :visited</ a >
223223
224224 < li > < a href ="#here-pseudo "> < span class =secno > 7.2. </ span > The link
225- location pseudo-class :links-here </ a >
225+ location pseudo-class :local-link </ a >
226226
227227 < li > < a href ="#target-pseudo "> < span class =secno > 7.3. </ span > The target
228228 pseudo-class :target</ a >
@@ -1723,11 +1723,11 @@ <h3 id=link><span class=secno>7.1. </span> The link history pseudo-classes:
17231723 unvisited links differently.
17241724
17251725 < h3 id =here-pseudo > < span class =secno > 7.2. </ span > The link location
1726- pseudo-class :links-here </ h3 >
1726+ pseudo-class :local-link </ h3 >
17271727
1728- < p > The < code > :links-here </ code > pseudo-class allows authors to style links
1728+ < p > The < code > :local-link </ code > pseudo-class allows authors to style links
17291729 based on the users current location within a site and to differentiate
1730- site-internal versus site-external links. The < code > :links-here </ code >
1730+ site-internal versus site-external links. The < code > :local-link </ code >
17311731 pseudo-class represents an element that is the source anchor of a
17321732 hyperlink whose target's absolute URI matches the element's own document
17331733 URI. The fragment identifier of the document URI is stripped before
@@ -1738,7 +1738,7 @@ <h3 id=here-pseudo><span class=secno>7.2. </span> The link location
17381738 < p > For example, the following rule prevents links targetting the current
17391739 page from being underlined when they are part of the navigation list:
17401740
1741- < pre > nav :links-here { text-decoration: none; }</ pre >
1741+ < pre > nav :local-link { text-decoration: none; }</ pre >
17421742 </ div >
17431743
17441744 < p > The pseudo-class can also accept a non-negative integer as its sole
@@ -1754,7 +1754,7 @@ <h3 id=here-pseudo><span class=secno>7.2. </span> The link location
17541754 not match anything. Similarly if the document's URI is not a URL, the
17551755 pseudo-class does not match anything. The scheme, username, password,
17561756 port, query string, and fragment portions of the URL are not considered
1757- when matching against < code > :links-here (< var > n</ var > )</ code > .
1757+ when matching against < code > :local-link (< var > n</ var > )</ code > .
17581758
17591759 < p class =issue > Is there such a thing as IRL? Because we do want this to
17601760 work for internationalized URLs, just not URNs.
@@ -1779,15 +1779,15 @@ <h3 id=here-pseudo><span class=secno>7.2. </span> The link location
17791779 < p > and the styles:
17801780
17811781 < ol >
1782- < li > < code > a:links-here {...}</ code >
1782+ < li > < code > a:local-link {...}</ code >
17831783
1784- < li > < code > a:links-here (0) {...}</ code >
1784+ < li > < code > a:local-link (0) {...}</ code >
17851785
1786- < li > < code > a:links-here (1) {...}</ code >
1786+ < li > < code > a:local-link (1) {...}</ code >
17871787
1788- < li > < code > a:links-here (2) {...}</ code >
1788+ < li > < code > a:local-link (2) {...}</ code >
17891789
1790- < li > < code > a:links-here (3) {...}</ code >
1790+ < li > < code > a:local-link (3) {...}</ code >
17911791 </ ol >
17921792
17931793 < p > If the document's URI is < code > http://www.example.com/2011/03/</ code > :
@@ -1811,7 +1811,7 @@ <h3 id=here-pseudo><span class=secno>7.2. </span> The link location
18111811 < p > The following example styles all site-external links with a dashed
18121812 underline.
18131813
1814- < pre > :not(:links-here (0)) { text-decoration-style: dashed; }</ pre >
1814+ < pre > :not(:local-link (0)) { text-decoration-style: dashed; }</ pre >
18151815 </ div >
18161816
18171817 < h3 id =target-pseudo > < span class =secno > 7.3. </ span > The target pseudo-class
0 commit comments