hixie: reorder for clarity and xref (whatwg r5238)

hixie: reorder for clarity and xref (whatwg r5238)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4171&r2=1.4172&f=h
http://html5.org/tools/web-apps-tracker?from=5237&to=5238

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4171
retrieving revision 1.4172
diff -u -d -r1.4171 -r1.4172
--- Overview.html 4 Aug 2010 22:27:40 -0000 1.4171
+++ Overview.html 4 Aug 2010 23:03:17 -0000 1.4172
@@ -8797,27 +8797,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>
@@ -8841,7 +8826,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>

Received on Wednesday, 4 August 2010 23:03:59 UTC