- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 24 Jul 2011 21:48:33 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/selectors4
In directory hutz:/tmp/cvs-serv547
Modified Files:
Overview.html Overview.src.html
Log Message:
Switch :links-here to :local-link per f2f feedback
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Overview.html 24 Jul 2011 21:32:07 -0000 1.30
+++ Overview.html 24 Jul 2011 21:48:30 -0000 1.31
@@ -222,7 +222,7 @@
pseudo-classes: :link and :visited</a>
<li><a href="#here-pseudo"><span class=secno>7.2. </span> The link
- location pseudo-class :links-here</a>
+ location pseudo-class :local-link</a>
<li><a href="#target-pseudo"><span class=secno>7.3. </span> The target
pseudo-class :target</a>
@@ -1723,11 +1723,11 @@
unvisited links differently.
<h3 id=here-pseudo><span class=secno>7.2. </span> The link location
- pseudo-class :links-here</h3>
+ pseudo-class :local-link</h3>
- <p>The <code>:links-here</code> pseudo-class allows authors to style links
+ <p>The <code>:local-link</code> pseudo-class allows authors to style links
based on the users current location within a site and to differentiate
- site-internal versus site-external links. The <code>:links-here</code>
+ site-internal versus site-external links. The <code>:local-link</code>
pseudo-class represents an element that is the source anchor of a
hyperlink whose target's absolute URI matches the element's own document
URI. The fragment identifier of the document URI is stripped before
@@ -1738,7 +1738,7 @@
<p>For example, the following rule prevents links targetting the current
page from being underlined when they are part of the navigation list:
- <pre>nav :links-here { text-decoration: none; }</pre>
+ <pre>nav :local-link { text-decoration: none; }</pre>
</div>
<p>The pseudo-class can also accept a non-negative integer as its sole
@@ -1754,7 +1754,7 @@
not match anything. Similarly if the document's URI is not a URL, the
pseudo-class does not match anything. The scheme, username, password,
port, query string, and fragment portions of the URL are not considered
- when matching against <code>:links-here(<var>n</var>)</code>.
+ when matching against <code>:local-link(<var>n</var>)</code>.
<p class=issue>Is there such a thing as IRL? Because we do want this to
work for internationalized URLs, just not URNs.
@@ -1779,15 +1779,15 @@
<p>and the styles:
<ol>
- <li><code>a:links-here {...}</code>
+ <li><code>a:local-link {...}</code>
- <li><code>a:links-here(0) {...}</code>
+ <li><code>a:local-link(0) {...}</code>
- <li><code>a:links-here(1) {...}</code>
+ <li><code>a:local-link(1) {...}</code>
- <li><code>a:links-here(2) {...}</code>
+ <li><code>a:local-link(2) {...}</code>
- <li><code>a:links-here(3) {...}</code>
+ <li><code>a:local-link(3) {...}</code>
</ol>
<p>If the document's URI is <code>http://www.example.com/2011/03/</code>:
@@ -1811,7 +1811,7 @@
<p>The following example styles all site-external links with a dashed
underline.
- <pre>:not(:links-here(0)) { text-decoration-style: dashed; }</pre>
+ <pre>:not(:local-link(0)) { text-decoration-style: dashed; }</pre>
</div>
<h3 id=target-pseudo><span class=secno>7.3. </span> The target pseudo-class
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- Overview.src.html 24 Jul 2011 21:32:07 -0000 1.32
+++ Overview.src.html 24 Jul 2011 21:48:30 -0000 1.33
@@ -1249,12 +1249,12 @@
<h3 id="here-pseudo">
-The link location pseudo-class :links-here</h3>
+The link location pseudo-class :local-link</h3>
- <p>The <code>:links-here</code> pseudo-class allows authors to style
+ <p>The <code>:local-link</code> pseudo-class allows authors to style
links based on the users current location within a site and to
differentiate site-internal versus site-external links. The
- <code>:links-here</code> pseudo-class represents an element that is
+ <code>:local-link</code> pseudo-class represents an element that is
the source anchor of a hyperlink whose target's absolute URI
matches the element's own document URI.
The fragment identifier of the document URI is stripped before
@@ -1265,7 +1265,7 @@
<p>For example, the following rule prevents links targetting the
current page from being underlined when they are part of the
navigation list:
- <pre>nav :links-here { text-decoration: none; }</pre>
+ <pre>nav :local-link { text-decoration: none; }</pre>
</div>
<p>The pseudo-class can also accept a non-negative integer as its sole
@@ -1281,7 +1281,7 @@
not a URL, the pseudo-class does not match anything. The scheme,
username, password, port, query string, and fragment portions of the
URL are not considered when matching against
- <code>:links-here(<var>n</var>)</code>.
+ <code>:local-link(<var>n</var>)</code>.
<p class="issue">Is there such a thing as IRL? Because we do want this
to work for internationalized URLs, just not URNs.</p>
@@ -1297,11 +1297,11 @@
</ol>
<p>and the styles:
<ol>
- <li><code>a:links-here {...}</code>
- <li><code>a:links-here(0) {...}</code>
- <li><code>a:links-here(1) {...}</code>
- <li><code>a:links-here(2) {...}</code>
- <li><code>a:links-here(3) {...}</code>
+ <li><code>a:local-link {...}</code>
+ <li><code>a:local-link(0) {...}</code>
+ <li><code>a:local-link(1) {...}</code>
+ <li><code>a:local-link(2) {...}</code>
+ <li><code>a:local-link(3) {...}</code>
</ol>
<p>If the document's URI is <code>http://www.example.com/2011/03/</code>:
<ol>
@@ -1316,7 +1316,7 @@
<div class="example">
<p>The following example styles all site-external links with a dashed
underline.
- <pre>:not(:links-here(0)) { text-decoration-style: dashed; }</pre>
+ <pre>:not(:local-link(0)) { text-decoration-style: dashed; }</pre>
</div>
<h3 id=target-pseudo>
Received on Sunday, 24 July 2011 21:48:37 UTC