W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2011

hixie: Define that :active works between mousedown and mouseup. (whatwg r5881)

From: poot <cvsmail@w3.org>
Date: Fri, 11 Feb 2011 19:34:39 -0500
To: public-html-diffs@w3.org
Message-Id: <E1Po3Rf-0006XW-Sq@jay.w3.org>
hixie: Define that :active works between mousedown and mouseup. (whatwg
r5881)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4722&r2=1.4723&f=h
http://html5.org/tools/web-apps-tracker?from=5880&to=5881

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4722
retrieving revision 1.4723
diff -u -d -r1.4722 -r1.4723
--- Overview.html	12 Feb 2011 00:20:32 -0000	1.4722
+++ Overview.html	12 Feb 2011 00:33:20 -0000	1.4723
@@ -41652,6 +41652,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>
Received on Saturday, 12 February 2011 00:34:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 12 February 2011 00:34:43 GMT