[html5] r1224 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 13 23:18:16 PST 2008
Author: ianh
Date: 2008-02-13 23:18:15 -0800 (Wed, 13 Feb 2008)
New Revision: 1224
Modified:
index
source
Log:
[gow] (2) setInterval() with a zero or undefined interval is treated like a setTimeout() by IE.
Modified: index
===================================================================
--- index 2008-02-14 04:46:26 UTC (rev 1223)
+++ index 2008-02-14 07:18:15 UTC (rev 1224)
@@ -45693,10 +45693,13 @@
<p>The <dfn id=setinterval...><code>setInterval(...)</code></dfn> variants
must work in the same way as the <code><a
- href="#settimeout">setTimeout</a></code> variants except that the <var
+ href="#settimeout">setTimeout</a></code> variants except that if <var
+ title="">timeout</var> is a value greater than zero, the <var
title="">handler</var> or <code><a href="#code">code</a></code> must be
invoked again every <var title="">timeout</var> milliseconds, not just the
- once.
+ once.</p>
+ <!-- so setInterval(x) and setInterval(x, 0) are
+ equivalent to setTimeout(x) and setTimeout(x, 0) respectively -->
<p>The <dfn id=cleartimeout><code>clearTimeout()</code></dfn> and <dfn
id=clearinterval><code>clearInterval()</code></dfn> methods take one
@@ -45732,8 +45735,8 @@
<p>Thanks to Aankhen, Aaron Boodman, Aaron Leventhal, Adam Roben, Adrian
Sutton, Agustín Fernández, Alexey Feldgendler, Andrew Gove,
- Andrew Sidwell, Anne van Kesteren, Anthony Hickson, Antti Koivisto,
- Asbjørn Ulsberg, Ben Godfrey, Ben Meadowcroft, Benjamin
+ Andrew Sidwell, Anne van Kesteren, Anthony Hickson, Antti Koivisto, Arphen
+ Lin, Asbjørn Ulsberg, Ben Godfrey, Ben Meadowcroft, Benjamin
Hawkes-Lewis, Bert Bos, Billy Wong, Bjoern Hoehrmann, Boris Zbarsky, Brad
Fults, Brad Neuberg, Brady Eidson, Brendan Eich, Brett Wilson, Brian
Campbell, Cameron McCormack, Carlos Perelló Marín, Chao Cai,
Modified: source
===================================================================
--- source 2008-02-14 04:46:26 UTC (rev 1223)
+++ source 2008-02-14 07:18:15 UTC (rev 1224)
@@ -41498,9 +41498,11 @@
<p>The <dfn><code>setInterval(...)</code></dfn> variants must work
in the same way as the <code>setTimeout</code> variants except that
- the <var title="">handler</var> or <code>code</code> must be invoked
+ if <var title="">timeout</var> is a value greater than zero, the
+ <var title="">handler</var> or <code>code</code> must be invoked
again every <var title="">timeout</var> milliseconds, not just the
- once.</p>
+ once.</p> <!-- so setInterval(x) and setInterval(x, 0) are
+ equivalent to setTimeout(x) and setTimeout(x, 0) respectively -->
<p>The <dfn><code>clearTimeout()</code></dfn> and
<dfn><code>clearInterval()</code></dfn> methods take one integer (the
@@ -41543,7 +41545,7 @@
<p>Thanks to Aankhen, Aaron Boodman, Aaron Leventhal, Adam Roben,
Adrian Sutton, Agustín Fernández, Alexey Feldgendler,
Andrew Gove, Andrew Sidwell, Anne van Kesteren, Anthony Hickson,
- Antti Koivisto, Asbjørn Ulsberg, Ben Godfrey, Ben
+ Antti Koivisto, Arphen Lin, Asbjørn Ulsberg, Ben Godfrey, Ben
Meadowcroft, Benjamin Hawkes-Lewis, Bert Bos, Billy Wong, Bjoern
Hoehrmann, Boris Zbarsky, Brad Fults, Brad Neuberg, Brady Eidson,
Brendan Eich, Brett Wilson, Brian Campbell, Cameron McCormack,
More information about the Commit-Watchers
mailing list