W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1708 2537 Make element.click() non-reentrant. (wha

From: poot <cvsmail@w3.org>
Date: Wed, 17 Dec 2008 08:32:03 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081216233203.DBD662BC6B@toro.w3.mag.keio.ac.jp>

Make element.click() non-reentrant. (whatwg r2537)

hidden
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1708.html#dom-hidden
6.4 Scrolling elements into view
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1708.html#scrolling-elements-into-view
6.3 Activation
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1708.html#activation
click()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1708.html#dom-click

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1707&r2=1.1708&f=h
http://html5.org/tools/web-apps-tracker?from=2536&to=2537

===================================================================
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:32:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT