[html5] r5238 - [e] (0) reorder for clarity and xref

whatwg at whatwg.org whatwg at whatwg.org
Wed Aug 4 16:03:13 PDT 2010


Author: ianh
Date: 2010-08-04 16:03:11 -0700 (Wed, 04 Aug 2010)
New Revision: 5238

Modified:
   complete.html
   index
   source
Log:
[e] (0) reorder for clarity and xref

Modified: complete.html
===================================================================
--- complete.html	2010-08-04 22:27:34 UTC (rev 5237)
+++ complete.html	2010-08-04 23:03:11 UTC (rev 5238)
@@ -10298,27 +10298,12 @@
   element. If the event is canceled, the user agent must <a href=#run-canceled-activation-steps>run
   canceled activation steps</a> on the element instead.</p>
 
-  <p>Given an element <var title="">target</var>, the <dfn id=nearest-activatable-element>nearest
-  activatable element</dfn> is the element returned by the following
-  algorithm:</p>
-
-  <ol><li><p>If <var title="">target</var> has a defined <a href=#activation-behavior>activation
-   behavior</a>, then return <var title="">target</var> and abort
-   these steps.</li>
-
-   <li><p>If <var title="">target</var> has a parent element, then set
-   <var title="">target</var> to that parent element and return to the
-   first step.</li>
-
-   <li><p>Otherwise, there is no <a href=#nearest-activatable-element>nearest activatable
-   element</a>.</li>
-
-  </ol><p>When a pointing device is clicked, the user agent must run these
+  <p>When a pointing device is clicked, the user agent must run these
   steps:</p>
 
-  <ol><li><p>Let <var title="">e</var> be the <span title="">nearest
-   activatable element</span> of the element designated by the user,
-   if any.</li>
+  <ol><li><p>Let <var title="">e</var> be the <a href=#nearest-activatable-element>nearest activatable
+   element</a> of the element designated by the user (defined
+   below), if any.</li>
 
    <li><p>If there is an element <var title="">e</var>, <a href=#run-pre-click-activation-steps>run
    pre-click activation steps</a> on it.</li>
@@ -10342,7 +10327,22 @@
   events dispatched by author script. However, the <code title=dom-click><a href=#dom-click>click()</a></code> method can be used to make it
   happen programmatically.</p>
 
-  <p>When a user agent is to <dfn id=run-pre-click-activation-steps>run pre-click activation steps</dfn>
+  <p>Given an element <var title="">target</var>, the <dfn id=nearest-activatable-element>nearest
+  activatable element</dfn> is the element returned by the following
+  algorithm:</p>
+
+  <ol><li><p>If <var title="">target</var> has a defined <a href=#activation-behavior>activation
+   behavior</a>, then return <var title="">target</var> and abort
+   these steps.</li>
+
+   <li><p>If <var title="">target</var> has a parent element, then set
+   <var title="">target</var> to that parent element and return to the
+   first step.</li>
+
+   <li><p>Otherwise, there is no <a href=#nearest-activatable-element>nearest activatable
+   element</a>.</li>
+
+  </ol><p>When a user agent is to <dfn id=run-pre-click-activation-steps>run pre-click activation steps</dfn>
   on an element, it must run the <dfn id=pre-click-activation-steps>pre-click activation steps</dfn>
   defined for that element, if any.</p>
 

Modified: index
===================================================================
--- index	2010-08-04 22:27:34 UTC (rev 5237)
+++ index	2010-08-04 23:03:11 UTC (rev 5238)
@@ -10222,27 +10222,12 @@
   element. If the event is canceled, the user agent must <a href=#run-canceled-activation-steps>run
   canceled activation steps</a> on the element instead.</p>
 
-  <p>Given an element <var title="">target</var>, the <dfn id=nearest-activatable-element>nearest
-  activatable element</dfn> is the element returned by the following
-  algorithm:</p>
-
-  <ol><li><p>If <var title="">target</var> has a defined <a href=#activation-behavior>activation
-   behavior</a>, then return <var title="">target</var> and abort
-   these steps.</li>
-
-   <li><p>If <var title="">target</var> has a parent element, then set
-   <var title="">target</var> to that parent element and return to the
-   first step.</li>
-
-   <li><p>Otherwise, there is no <a href=#nearest-activatable-element>nearest activatable
-   element</a>.</li>
-
-  </ol><p>When a pointing device is clicked, the user agent must run these
+  <p>When a pointing device is clicked, the user agent must run these
   steps:</p>
 
-  <ol><li><p>Let <var title="">e</var> be the <span title="">nearest
-   activatable element</span> of the element designated by the user,
-   if any.</li>
+  <ol><li><p>Let <var title="">e</var> be the <a href=#nearest-activatable-element>nearest activatable
+   element</a> of the element designated by the user (defined
+   below), if any.</li>
 
    <li><p>If there is an element <var title="">e</var>, <a href=#run-pre-click-activation-steps>run
    pre-click activation steps</a> on it.</li>
@@ -10266,7 +10251,22 @@
   events dispatched by author script. However, the <code title=dom-click><a href=#dom-click>click()</a></code> method can be used to make it
   happen programmatically.</p>
 
-  <p>When a user agent is to <dfn id=run-pre-click-activation-steps>run pre-click activation steps</dfn>
+  <p>Given an element <var title="">target</var>, the <dfn id=nearest-activatable-element>nearest
+  activatable element</dfn> is the element returned by the following
+  algorithm:</p>
+
+  <ol><li><p>If <var title="">target</var> has a defined <a href=#activation-behavior>activation
+   behavior</a>, then return <var title="">target</var> and abort
+   these steps.</li>
+
+   <li><p>If <var title="">target</var> has a parent element, then set
+   <var title="">target</var> to that parent element and return to the
+   first step.</li>
+
+   <li><p>Otherwise, there is no <a href=#nearest-activatable-element>nearest activatable
+   element</a>.</li>
+
+  </ol><p>When a user agent is to <dfn id=run-pre-click-activation-steps>run pre-click activation steps</dfn>
   on an element, it must run the <dfn id=pre-click-activation-steps>pre-click activation steps</dfn>
   defined for that element, if any.</p>
 

Modified: source
===================================================================
--- source	2010-08-04 22:27:34 UTC (rev 5237)
+++ source	2010-08-04 23:03:11 UTC (rev 5238)
@@ -10460,33 +10460,14 @@
   element. If the event is canceled, the user agent must <span>run
   canceled activation steps</span> on the element instead.</p>
 
-  <p>Given an element <var title="">target</var>, the <dfn>nearest
-  activatable element</dfn> is the element returned by the following
-  algorithm:</p>
-
-  <ol>
-
-   <li><p>If <var title="">target</var> has a defined <span>activation
-   behavior</span>, then return <var title="">target</var> and abort
-   these steps.</p></li>
-
-   <li><p>If <var title="">target</var> has a parent element, then set
-   <var title="">target</var> to that parent element and return to the
-   first step.</p></li>
-
-   <li><p>Otherwise, there is no <span>nearest activatable
-   element</span>.</p></li>
-
-  </ol>
-
   <p>When a pointing device is clicked, the user agent must run these
   steps:</p>
 
   <ol>
 
-   <li><p>Let <var title="">e</var> be the <span title="">nearest
-   activatable element</span> of the element designated by the user,
-   if any.</p></li>
+   <li><p>Let <var title="">e</var> be the <span>nearest activatable
+   element</span> of the element designated by the user (defined
+   below), if any.</p></li>
 
    <li><p>If there is an element <var title="">e</var>, <span>run
    pre-click activation steps</span> on it.</p></li>
@@ -10514,6 +10495,25 @@
   title="dom-click">click()</code> method can be used to make it
   happen programmatically.</p>
 
+  <p>Given an element <var title="">target</var>, the <dfn>nearest
+  activatable element</dfn> is the element returned by the following
+  algorithm:</p>
+
+  <ol>
+
+   <li><p>If <var title="">target</var> has a defined <span>activation
+   behavior</span>, then return <var title="">target</var> and abort
+   these steps.</p></li>
+
+   <li><p>If <var title="">target</var> has a parent element, then set
+   <var title="">target</var> to that parent element and return to the
+   first step.</p></li>
+
+   <li><p>Otherwise, there is no <span>nearest activatable
+   element</span>.</p></li>
+
+  </ol>
+
   <p>When a user agent is to <dfn>run pre-click activation steps</dfn>
   on an element, it must run the <dfn>pre-click activation steps</dfn>
   defined for that element, if any.</p>




More information about the Commit-Watchers mailing list