[html5] r5897 - [e] (0) Rephrase the :active prose to not suggest that the Selectors spec is wrong.

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 16 11:40:52 PST 2011


Author: ianh
Date: 2011-02-16 11:40:50 -0800 (Wed, 16 Feb 2011)
New Revision: 5897

Modified:
   complete.html
   index
   source
Log:
[e] (0) Rephrase the :active prose to not suggest that the Selectors spec is wrong.

Modified: complete.html
===================================================================
--- complete.html	2011-02-16 08:30:10 UTC (rev 5896)
+++ complete.html	2011-02-16 19:40:50 UTC (rev 5897)
@@ -52804,50 +52804,65 @@
    <dd>
 
     <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class
-    must match any element falling into one of the following
-    categories between the time the user begins to activate the
-    element and the time the user stops activating the element:</p>
+    is defined to match an element <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while
+    an element is <i>being activated</i> by the user</q>. For the
+    purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML
+    user agent must consider an element as <i>being activated</i> if
+    it is:</p>
 
-    <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+    <ul><li>
 
-     <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+      <p>An element falling into one of the following categories
+      between the time the user begins to indicate an intent to
+      trigger the element's <a href=#activation-behavior>activation behavior</a> and
+      either the time the user stops indicating an intent to trigger
+      the element's <a href=#activation-behavior>activation behavior</a>, or the time the
+      element's <a href=#activation-behavior>activation behavior</a> has finished running,
+      which ever comes first:</p>
 
-     <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#image-button-state title=attr-input-type-image>Image Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state</li>
+       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
+       <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
 
-     <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
+       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#image-button-state title=attr-input-type-image>Image Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state</li>
 
-    </ul><p class=example>For example, if the user is using a keyboard to
-    push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar, the
-    element would match this pseudo-class in between the time that the
-    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>
+       <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
 
-    <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>
+       <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
 
-    <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>
+      </ul><p class=example>For example, if the user is using a keyboard
+      to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
+      the element would match this pseudo-class in between the time
+      that the 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 has an ancestor that
-    matches the the <code title=selector-active><a href=#selector-active>:active</a></code>
-    pseudo-class.</p>
+     </li>
 
-   </dd>
+     <li>
 
+      <p>An 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>
 
+     </li>
+
+     <li>
+
+      <p>An element that has a descendant that is currently matching
+      the the <code title=selector-active><a href=#selector-active>:active</a></code>
+      pseudo-class.</p>
+
+      </li>
+
+     </ul></dd>
+
+
    <dt><dfn id=selector-enabled title=selector-enabled><code>:enabled</code></dfn></dt>
 
    <dd>

Modified: index
===================================================================
--- index	2011-02-16 08:30:10 UTC (rev 5896)
+++ index	2011-02-16 19:40:50 UTC (rev 5897)
@@ -52787,50 +52787,65 @@
    <dd>
 
     <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class
-    must match any element falling into one of the following
-    categories between the time the user begins to activate the
-    element and the time the user stops activating the element:</p>
+    is defined to match an element <q cite=http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act>while
+    an element is <i>being activated</i> by the user</q>. For the
+    purposes of defining the <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class only, an HTML
+    user agent must consider an element as <i>being activated</i> if
+    it is:</p>
 
-    <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+    <ul><li>
 
-     <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+      <p>An element falling into one of the following categories
+      between the time the user begins to indicate an intent to
+      trigger the element's <a href=#activation-behavior>activation behavior</a> and
+      either the time the user stops indicating an intent to trigger
+      the element's <a href=#activation-behavior>activation behavior</a>, or the time the
+      element's <a href=#activation-behavior>activation behavior</a> has finished running,
+      which ever comes first:</p>
 
-     <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+      <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+       <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#image-button-state title=attr-input-type-image>Image Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state</li>
+       <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
 
-     <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
+       <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
 
-     <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
+       <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#image-button-state title=attr-input-type-image>Image Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state</li>
 
-    </ul><p class=example>For example, if the user is using a keyboard to
-    push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar, the
-    element would match this pseudo-class in between the time that the
-    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>
+       <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
 
-    <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>
+       <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
 
-    <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>
+      </ul><p class=example>For example, if the user is using a keyboard
+      to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
+      the element would match this pseudo-class in between the time
+      that the 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 has an ancestor that
-    matches the the <code title=selector-active><a href=#selector-active>:active</a></code>
-    pseudo-class.</p>
+     </li>
 
-   </dd>
+     <li>
 
+      <p>An 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>
 
+     </li>
+
+     <li>
+
+      <p>An element that has a descendant that is currently matching
+      the the <code title=selector-active><a href=#selector-active>:active</a></code>
+      pseudo-class.</p>
+
+      </li>
+
+     </ul></dd>
+
+
    <dt><dfn id=selector-enabled title=selector-enabled><code>:enabled</code></dfn></dt>
 
    <dd>

Modified: source
===================================================================
--- source	2011-02-16 08:30:10 UTC (rev 5896)
+++ source	2011-02-16 19:40:50 UTC (rev 5897)
@@ -59437,63 +59437,83 @@
    <dd>
 
     <p>The <code title="selector-active">:active</code> pseudo-class
-    must match any element falling into one of the following
-    categories between the time the user begins to activate the
-    element and the time the user stops activating the element:</p>
+    is defined to match an element <q
+    cite="http://dev.w3.org/csswg/selectors3/#the-user-action-pseudo-classes-hover-act">while
+    an element is <i>being activated</i> by the user</q>. For the
+    purposes of defining the <code
+    title="selector-active">:active</code> pseudo-class only, an HTML
+    user agent must consider an element as <i>being activated</i> if
+    it is:</p>
 
     <ul>
 
-     <li><code>a</code> elements that have an <code
-     title="attr-hyperlink-href">href</code> attribute</li>
+     <li>
 
-     <li><code>area</code> elements that have an <code
-     title="attr-hyperlink-href">href</code> attribute</li>
+      <p>An element falling into one of the following categories
+      between the time the user begins to indicate an intent to
+      trigger the element's <span>activation behavior</span> and
+      either the time the user stops indicating an intent to trigger
+      the element's <span>activation behavior</span>, or the time the
+      element's <span>activation behavior</span> has finished running,
+      which ever comes first:</p>
 
-     <li><code>link</code> elements that have an <code
-     title="attr-link-href">href</code> attribute</li>
+      <ul>
 
-     <li><code>button</code> elements that are not <span
-     title="concept-fe-disabled">disabled</span></li>
+       <li><code>a</code> elements that have an <code
+       title="attr-hyperlink-href">href</code> attribute</li>
 
-     <li><code>input</code> elements whose <code
-     title="attr-input-type">type</code> attribute is in the <span
-     title="attr-input-type-submit">Submit Button</span>, <span
-     title="attr-input-type-image">Image Button</span>, <span
-     title="attr-input-type-reset">Reset Button</span>, or <span
-     title="attr-input-type-button">Button</span> state</li>
+       <li><code>area</code> elements that have an <code
+       title="attr-hyperlink-href">href</code> attribute</li>
 
-     <li><code>command</code> elements that do not have a <code
-     title="attr-command-disabled">disabled</code> attribute</li>
+       <li><code>link</code> elements that have an <code
+       title="attr-link-href">href</code> attribute</li>
 
-     <li>elements that are <span>specially focusable</span></li>
+       <li><code>button</code> elements that are not <span
+       title="concept-fe-disabled">disabled</span></li>
 
-    </ul>
+       <li><code>input</code> elements whose <code
+       title="attr-input-type">type</code> attribute is in the <span
+       title="attr-input-type-submit">Submit Button</span>, <span
+       title="attr-input-type-image">Image Button</span>, <span
+       title="attr-input-type-reset">Reset Button</span>, or <span
+       title="attr-input-type-button">Button</span> state</li>
 
-    <p class="example">For example, if the user is using a keyboard to
-    push a <code>button</code> element by pressing the space bar, the
-    element would match this pseudo-class in between the time that the
-    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>
+       <li><code>command</code> elements that do not have a <code
+       title="attr-command-disabled">disabled</code> attribute</li>
 
-    <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>
+       <li>elements that are <span>specially focusable</span></li>
 
-    <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>
+      </ul>
 
-    <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>
+      <p class="example">For example, if the user is using a keyboard
+      to push a <code>button</code> element by pressing the space bar,
+      the element would match this pseudo-class in between the time
+      that the 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>
 
+     </li>
+
+     <li>
+
+      <p>An 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>
+
+     </li>
+
+     <li>
+
+      <p>An element that has a descendant that is currently matching
+      the the <code title="selector-active">:active</code>
+      pseudo-class.</p>
+
+      </li>
+
+     </ul>
+
    </dd>
 
 




More information about the Commit-Watchers mailing list