- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 12 Feb 2011 00:33:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv23915
Modified Files:
Overview.html
Log Message:
Define that :active works between mousedown and mouseup. (whatwg r5881)
Index: Overview.html
===================================================================
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:33:26 UTC