[html5] r5881 - [giow] (2) Define that :active works between mousedown and mouseup. Fixing http: [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 11 16:33:16 PST 2011


Author: ianh
Date: 2011-02-11 16:33:14 -0800 (Fri, 11 Feb 2011)
New Revision: 5881

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Define that :active works between mousedown and mouseup.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11343

Modified: complete.html
===================================================================
--- complete.html	2011-02-12 00:20:27 UTC (rev 5880)
+++ complete.html	2011-02-12 00:33:14 UTC (rev 5881)
@@ -52778,6 +52778,23 @@
     element received the <code title=event-keydown>keydown</code>
     event and the time the element received the <code title=event-keyup>keyup</code> event.</p>
 
+    <p>In addition, the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class must match any element that the user indicates using
+    a pointing device while that pointing device is in the "down"
+    state (e.g. for a mouse, between the time the mouse button is
+    pressed and the time it is depressed).</p>
+
+    <p class=note>This requirement is a <a href=#willful-violation>willful
+    violation</a> of the Selectors specification (which only allows
+    elements to match the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class when they are activated), motivated by a desire to be
+    compatible with legacy user agents. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+
+    <p>In addition, the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class must match any element that has an ancestor that
+    matches the the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class.</p>
+
    </dd>
 
 

Modified: index
===================================================================
--- index	2011-02-12 00:20:27 UTC (rev 5880)
+++ index	2011-02-12 00:33:14 UTC (rev 5881)
@@ -52761,6 +52761,23 @@
     element received the <code title=event-keydown>keydown</code>
     event and the time the element received the <code title=event-keyup>keyup</code> event.</p>
 
+    <p>In addition, the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class must match any element that the user indicates using
+    a pointing device while that pointing device is in the "down"
+    state (e.g. for a mouse, between the time the mouse button is
+    pressed and the time it is depressed).</p>
+
+    <p class=note>This requirement is a <a href=#willful-violation>willful
+    violation</a> of the Selectors specification (which only allows
+    elements to match the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class when they are activated), motivated by a desire to be
+    compatible with legacy user agents. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+
+    <p>In addition, the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class must match any element that has an ancestor that
+    matches the the <code title=selector-active><a href=#selector-active>:active</a></code>
+    pseudo-class.</p>
+
    </dd>
 
 

Modified: source
===================================================================
--- source	2011-02-12 00:20:27 UTC (rev 5880)
+++ source	2011-02-12 00:33:14 UTC (rev 5881)
@@ -59418,6 +59418,24 @@
     event and the time the element received the <code
     title="event-keyup">keyup</code> event.</p>
 
+    <p>In addition, the <code title="selector-active">:active</code>
+    pseudo-class must match any element that the user indicates using
+    a pointing device while that pointing device is in the "down"
+    state (e.g. for a mouse, between the time the mouse button is
+    pressed and the time it is depressed).</p>
+
+    <p class="note">This requirement is a <span>willful
+    violation</span> of the Selectors specification (which only allows
+    elements to match the <code title="selector-active">:active</code>
+    pseudo-class when they are activated), motivated by a desire to be
+    compatible with legacy user agents. <a
+    href="#refsSELECTORS">[SELECTORS]</a></p>
+
+    <p>In addition, the <code title="selector-active">:active</code>
+    pseudo-class must match any element that has an ancestor that
+    matches the the <code title="selector-active">:active</code>
+    pseudo-class.</p>
+
    </dd>
 
 




More information about the Commit-Watchers mailing list