csswg/selectors4 Overview.html,1.24,1.25 Overview.src.html,1.26,1.27

Update of /sources/public/csswg/selectors4
In directory hutz:/tmp/cvs-serv25367

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Switch :current to :links-here

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- Overview.html	12 Jul 2011 19:33:58 -0000	1.24
+++ Overview.html	12 Jul 2011 19:48:27 -0000	1.25
@@ -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 :current</a>
+      location pseudo-class :links-here</a>
 
      <li><a href="#scope-pseudo"><span class=secno>7.3. </span> The scope
       pseudo-class :scope</a>
@@ -1706,13 +1706,11 @@
    unvisited links differently.
 
   <h3 id=here-pseudo><span class=secno>7.2. </span> The link location
-   pseudo-class :current</h3>
-
-  <p class=issue>This pseudo-class needs a better name.
+   pseudo-class :links-here</h3>
 
-  <p>The <code>:current</code> pseudo-class allows authors to style links
+  <p>The <code>:links-here</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>:current</code>
+   site-internal versus site-external links. The <code>:links-here</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
@@ -1723,7 +1721,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 :current { text-decoration: none; }</pre>
+   <pre>nav :links-here { text-decoration: none; }</pre>
   </div>
 
   <p>The pseudo-class can also accept a non-negative integer as its sole
@@ -1739,7 +1737,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>:current(<var>n</var>)</code>.
+   when matching against <code>:linkes-here(<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.
@@ -1764,15 +1762,15 @@
    <p>and the styles:
 
    <ol>
-    <li><code>a:current {...}</code>
+    <li><code>a:links-here {...}</code>
 
-    <li><code>a:current(0) {...}</code>
+    <li><code>a:links-here(0) {...}</code>
 
-    <li><code>a:current(1) {...}</code>
+    <li><code>a:links-here(1) {...}</code>
 
-    <li><code>a:current(2) {...}</code>
+    <li><code>a:links-here(2) {...}</code>
 
-    <li><code>a:current(3) {...}</code>
+    <li><code>a:links-here(3) {...}</code>
    </ol>
 
    <p>If the document's URI is <code>http://www.example.com/2011/03/</code>:
@@ -1796,7 +1794,7 @@
    <p>The following example styles all site-external links with a dashed
     underline.
 
-   <pre>:not(:current(0)) { text-decoration-style: dashed; }</pre>
+   <pre>:not(:links-here(0)) { text-decoration-style: dashed; }</pre>
   </div>
 
   <h3 id=scope-pseudo><span class=secno>7.3. </span> The scope pseudo-class

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Overview.src.html	12 Jul 2011 19:33:58 -0000	1.26
+++ Overview.src.html	12 Jul 2011 19:48:27 -0000	1.27
@@ -1249,14 +1249,12 @@
 
 
 <h3 id="here-pseudo">
-The link location pseudo-class :current</h3>
-
-  <p class="issue">This pseudo-class needs a better name.</p>
+The link location pseudo-class :links-here</h3>
 
-  <p>The <code>:current</code> pseudo-class allows authors to style
+  <p>The <code>:links-here</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>:current</code> pseudo-class represents an element that is
+    <code>:links-here</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
@@ -1267,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 :current { text-decoration: none; }</pre>
+    <pre>nav :links-here { text-decoration: none; }</pre>
   </div>
 
   <p>The pseudo-class can also accept a non-negative integer as its sole
@@ -1283,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>:current(<var>n</var>)</code>.
+    <code>:linkes-here(<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>
@@ -1299,11 +1297,11 @@
     </ol>
     <p>and the styles:
     <ol>
-       <li><code>a:current {...}</code>
-       <li><code>a:current(0) {...}</code>
-       <li><code>a:current(1) {...}</code>
-       <li><code>a:current(2) {...}</code>
-       <li><code>a:current(3) {...}</code>
+       <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>
     </ol>
     <p>If the document's URI is <code>http://www.example.com/2011/03/</code>:
     <ol>
@@ -1318,7 +1316,7 @@
   <div class="example">
     <p>The following example styles all site-external links with a dashed
       underline.
-    <pre>:not(:current(0)) { text-decoration-style: dashed; }</pre>
+    <pre>:not(:links-here(0)) { text-decoration-style: dashed; }</pre>
   </div>
 
 <h3 id=scope-pseudo>

Received on Tuesday, 12 July 2011 19:48:35 UTC