html5/spec Overview.html,1.1707,1.1708

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25142

Modified Files:
	Overview.html 
Log Message:
Make element.click() non-reentrant. (whatwg r2537)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1707
retrieving revision 1.1708
diff -u -d -r1.1707 -r1.1708
--- Overview.html	16 Dec 2008 22:52:31 -0000	1.1707
+++ Overview.html	16 Dec 2008 23:29:13 -0000	1.1708
@@ -32624,11 +32624,23 @@
   in hidden areas? e.g. make onmousemove and onclick and form controls
   not respond to input? --><p>The <dfn id=dom-hidden title=dom-hidden><code>hidden</code></dfn> DOM
   attribute must <a href=#reflect>reflect</a> the content attribute of the
-  same name.<h3 id=activation><span class=secno>6.3 </span>Activation</h3><p>The <dfn id=dom-click title=dom-click>click()</dfn> method must, if the
-  element has a defined <a href=#activation-behavior>activation behavior</a>, <a href=#run-synthetic-click-activation-steps>run
-  synthetic click activation steps</a> on the element. Otherwise,
-  the user agent must <a href=#fire-a-click-event>fire a <code>click</code> event</a> at
-  the element.<h3 id=scrolling-elements-into-view><span class=secno>6.4 </span>Scrolling elements into view</h3><p>The <dfn id=dom-scrollintoview title=dom-scrollIntoView><code>scrollIntoView([<var title="">top</var>])</code></dfn> method, when called, must cause
+  same name.<h3 id=activation><span class=secno>6.3 </span>Activation</h3><p>Each element has a <var title="">click in progress</var> flag,
+  initially set to false.<p>The <dfn id=dom-click title=dom-click>click()</dfn> method must run these
+  steps:<ol><li><p>If the element's <var title="">click in progress</var> flag
+   is set to true, then abort these steps.</li>
+
+   <li><p>Set the <var title="">click in progress</var> flag on the
+   element to true.</li>
+
+   <li><p>If the element has a defined <a href=#activation-behavior>activation behavior</a>,
+   <a href=#run-synthetic-click-activation-steps>run synthetic click activation steps</a> on the
+   element. Otherwise, <a href=#fire-a-click-event>fire a <code>click</code> event</a> at
+   the element.</li>
+
+   <li><p>Set the <var title="">click in progress</var> flag on the
+   element to false.</li>
+
+  </ol><h3 id=scrolling-elements-into-view><span class=secno>6.4 </span>Scrolling elements into view</h3><p>The <dfn id=dom-scrollintoview title=dom-scrollIntoView><code>scrollIntoView([<var title="">top</var>])</code></dfn> method, when called, must cause
   the element on which the method was called to have the attention of
   the user called to it.<p class=note>In a speech browser, this could happen by having the
   current playback position move to the start of the given

Received on Tuesday, 16 December 2008 23:29:27 UTC