Skip to content
Permalink
Browse files

[giow] (2) Define that :active works between mousedown and mouseup.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11343

git-svn-id: http://svn.whatwg.org/webapps@5881 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 12, 2011
1 parent 7b85080 commit 99323ba05ba9731101e9fef5f1461ab2767a98e4
Showing with 52 additions and 0 deletions.
  1. +17 −0 complete.html
  2. +17 −0 index
  3. +18 −0 source
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>


17 index
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>


18 source
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>


0 comments on commit 99323ba

Please sign in to comment.
You can’t perform that action at this time.