csswg/selectors4 Overview.html,1.28,1.29 Overview.src.html,1.30,1.31

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add :current pseudo-class for <http://lists.w3.org/Archives/Public/www-style/2011Jun/0236.html>, link to HTML5's dir attribute section

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Overview.html	18 Jul 2011 22:24:30 -0000	1.28
+++ Overview.html	21 Jul 2011 00:28:23 -0000	1.29
@@ -15,13 +15,13 @@
 
    <h1 id=title>Selectors Level 4</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 July 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 July 2011</h2>
 
    <dl>
     <dt>This version:
 
-    <dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110718/">
-             http://www.w3.org/TR/2011/WD-selectors4-20110718</a> -->
+    <dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110721/">
+             http://www.w3.org/TR/2011/WD-selectors4-20110721</a> -->
      <a href="http://dev.w3.org/csswg/selectors4">
      http://dev.w3.org/csswg/selectors4</a>
 
@@ -232,6 +232,9 @@
 
      <li><a href="#useraction-pseudos"><span class=secno>7.5. </span> The
       user action pseudo-classes :hover, :active, and :focus</a>
+
+     <li><a href="#current-pseudo"><span class=secno>7.6. </span> The
+      currently-playing pseudo-class <code>:current</code></a>
     </ul>
 
    <li><a href="#linguistic-pseudos"><span class=secno>8. </span> Linguistic
@@ -1919,6 +1922,29 @@
    class=css>:link</code>&rsquo; and &lsquo;<code
    class=css>:active</code>&rsquo;).
 
+  <h3 id=current-pseudo><span class=secno>7.6. </span> The currently-playing
+   pseudo-class <code>:current</code></h3>
+
+  <p>The <code>:current</code> pseudo-class represents the innermost element,
+   or ancestor of an element, that is currently being rendered in a
+   time-dimensional canvas, such as during speech rendering of a document.
+   Its alternate form <code>:current()</code>, like <code>:matches()</code>,
+   takes a list of compound selectors as its argument: it represents the
+   <code>:current</code> element that matches the argument or, if that does
+   not match, the innermost ancestor of the <code>:current</code> element
+   that does. (If neither the <code>:current</code> element nor its ancestors
+   match the argument, then the selector does not represent anything.)
+
+  <div class=example>
+   <p>For example, the following rule will highlight whichever paragraph or
+    list item is being read aloud in a speech rendering of the document:
+
+   <pre>
+<!-- -->:current(p, li, dt, dd) {
+<!-- -->  background: yellow;
+<!-- -->}</pre>
+  </div>
+
   <h2 id=linguistic-pseudos><span class=secno>8. </span> Linguistic
    Pseudo-classes</h2>
 
@@ -1953,11 +1979,12 @@
    For example, in HTML, the directionality of an element inherits so that a
    child without a <code>dir</code> attribute will have the same
    directionality as its closest ancestor with a valid <code>dir</code>
-   attribute. As another example, in <a href="#HTML5"
-   rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>, an element that matches
-   <code>[dir=auto]</code> will match either <code>:dir(ltr)</code> or
-   <code>:dir(rtl)</code> depending on the resolved directionality of the
-   elements as determined by its contents.
+   attribute. As another example, <a
+   href="http://www.w3.org/TR/html5/#the-directionality">in HTML5</a>, an
+   element that matches <code>[dir=auto]</code> will match either
+   <code>:dir(ltr)</code> or <code>:dir(rtl)</code> depending on the resolved
+   directionality of the elements as determined by its contents. <a
+   href="#HTML5" rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>
 
   <h3 id=lang-pseudo><span class=secno>8.2. </span> The language pseudo-class
    <code>:lang</code></h3>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Overview.src.html	18 Jul 2011 22:24:30 -0000	1.30
+++ Overview.src.html	21 Jul 2011 00:28:23 -0000	1.31
@@ -1432,6 +1432,29 @@
   <p class="note"><strong>Note:</strong> An element can be both
   ':visited' and ':active' (or ':link' and ':active').</p>
 
+<h3 id="current-pseudo">
+The currently-playing pseudo-class <code>:current</code></h3>
+
+  <p>The <code>:current</code> pseudo-class represents the innermost
+    element, or ancestor of an element, that is currently being rendered
+    in a time-dimensional canvas, such as during speech rendering of a
+    document.
+    Its alternate form <code>:current()</code>, like <code>:matches()</code>,
+    takes a list of compound selectors as its argument: it represents the
+    <code>:current</code> element that matches the argument or, if that does
+    not match, the innermost ancestor of the <code>:current</code> element
+    that does. (If neither the <code>:current</code> element nor its ancestors
+    match the argument, then the selector does not represent anything.)
+
+  <div class="example">
+    <p>For example, the following rule will highlight whichever paragraph
+    or list item is being read aloud in a speech rendering of the document:
+    <pre>
+<!-- -->:current(p, li, dt, dd) {
+<!-- -->  background: yellow;
+<!-- -->}</pre>
+  </div>
+
 <h2 id="linguistic-pseudos">
 Linguistic Pseudo-classes</h2>
 
@@ -1465,10 +1488,11 @@
   comparison. For example, in HTML, the directionality of an element
   inherits so that a child without a <code>dir</code> attribute will have
   the same directionality as its closest ancestor with a valid <code>dir</code>
-  attribute. As another example, in [[HTML5]], an element that matches
-  <code>[dir=auto]</code> will match either <code>:dir(ltr)</code> or
-  <code>:dir(rtl)</code> depending on the resolved directionality of the
-  elements as determined by its contents.</p>
+  attribute. As another example,
+  <a href="http://www.w3.org/TR/html5/#the-directionality">in HTML5</a>,
+  an element that matches <code>[dir=auto]</code> will match either
+  <code>:dir(ltr)</code> or <code>:dir(rtl)</code> depending on the resolved
+  directionality of the elements as determined by its contents. [[HTML5]]
 
 <h3 id=lang-pseudo>
 The language pseudo-class <code>:lang</code></h3>

Received on Thursday, 21 July 2011 00:28:27 UTC