Skip to content
Permalink
Browse files

[giow] (3) Make clearTimeout()/clearInterval() (with no arguments) in…

…to no-ops; change the <table> role mapping so that tables aren't interactive.

Affected topics: HTML, HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8508 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 24, 2014
1 parent 7418823 commit 1b1a59ea7b3d459ab01ce67770bbf2521cd55ed4
Showing with 31 additions and 19 deletions.
  1. +10 −7 complete.html
  2. +10 −7 index
  3. +11 −5 source

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 February 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 24 February 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>

<tr><td><code><a href=#the-table-element>table</a></code> element

<td><code title=attr-aria-role-grid>grid</code> role
<td><code title=attr-aria-role-grid>grid</code> role with the <code title=attr-aria-readonly>aria-readonly</code> property set to "true"

<tr><td><code><a href=#the-tbody-element>tbody</a></code> element

interface <dfn id=windowtimers>WindowTimers</dfn> {
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout, any... arguments);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(long handle);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(optional long handle = 0);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout, any... arguments);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(long handle);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(optional long handle = 0);
};
<a href=#window>Window</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1229
-->

<dl class=domintro><dt><var title="">handle</var> = <var title="">window</var> . <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout</a></code>( <var title="">handler</var> [, <var title="">timeout</var> [, <var title="">arguments</var>... ] ] )</dt>
<dl class=domintro><!-- in practice clearInterval() and clearTimeout() are synonyms, but we don't mention this here --><dt><var title="">handle</var> = <var title="">window</var> . <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout</a></code>( <var title="">handler</var> [, <var title="">timeout</var> [, <var title="">arguments</var>... ] ] )</dt>

<dd>

</dd>

<dt><var title="">window</var> . <code title=dom-windowtimers-clearTimeout><a href=#dom-windowtimers-cleartimeout>clearTimeout</a></code>( <var title="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

</dd>

<dt><var title="">window</var> . <code title=dom-windowtimers-clearInterval><a href=#dom-windowtimers-clearinterval>clearInterval</a></code>( <var title="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

method's arguments, the object on which the method for which the algorithm is running is
implemented (a <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object) as the <var title="">method context</var>, and the <var title="">repeat</var> flag set to true.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout><code>clearTimeout()</code></dfn> and <dfn id=dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval><code>clearInterval()</code></dfn> methods must clear the
entry identified as <var title="">handle</var> from the <a href=#list-of-active-timers>list of active timers</a> of the
<code><a href=#windowtimers>WindowTimers</a></code> object on which the method was invoked, where <var title="">handle</var>
is the argument passed to the method, if any. (If <var title="">handle</var> does not identify an
<code><a href=#windowtimers>WindowTimers</a></code> object on which the method was invoked, if any, where <var title="">handle</var>
is the argument passed to the method. (If <var title="">handle</var> does not identify an
entry in the <a href=#list-of-active-timers>list of active timers</a> of the <code><a href=#windowtimers>WindowTimers</a></code> object on which
the method was invoked, the method does nothing.)</p>

17 index

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 February 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 24 February 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>

<tr><td><code><a href=#the-table-element>table</a></code> element

<td><code title=attr-aria-role-grid>grid</code> role
<td><code title=attr-aria-role-grid>grid</code> role with the <code title=attr-aria-readonly>aria-readonly</code> property set to "true"

<tr><td><code><a href=#the-tbody-element>tbody</a></code> element

interface <dfn id=windowtimers>WindowTimers</dfn> {
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout, any... arguments);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(long handle);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(optional long handle = 0);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout, any... arguments);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(long handle);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(optional long handle = 0);
};
<a href=#window>Window</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1229
-->

<dl class=domintro><dt><var title="">handle</var> = <var title="">window</var> . <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout</a></code>( <var title="">handler</var> [, <var title="">timeout</var> [, <var title="">arguments</var>... ] ] )</dt>
<dl class=domintro><!-- in practice clearInterval() and clearTimeout() are synonyms, but we don't mention this here --><dt><var title="">handle</var> = <var title="">window</var> . <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout</a></code>( <var title="">handler</var> [, <var title="">timeout</var> [, <var title="">arguments</var>... ] ] )</dt>

<dd>

</dd>

<dt><var title="">window</var> . <code title=dom-windowtimers-clearTimeout><a href=#dom-windowtimers-cleartimeout>clearTimeout</a></code>( <var title="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

</dd>

<dt><var title="">window</var> . <code title=dom-windowtimers-clearInterval><a href=#dom-windowtimers-clearinterval>clearInterval</a></code>( <var title="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

method's arguments, the object on which the method for which the algorithm is running is
implemented (a <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object) as the <var title="">method context</var>, and the <var title="">repeat</var> flag set to true.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout><code>clearTimeout()</code></dfn> and <dfn id=dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval><code>clearInterval()</code></dfn> methods must clear the
entry identified as <var title="">handle</var> from the <a href=#list-of-active-timers>list of active timers</a> of the
<code><a href=#windowtimers>WindowTimers</a></code> object on which the method was invoked, where <var title="">handle</var>
is the argument passed to the method, if any. (If <var title="">handle</var> does not identify an
<code><a href=#windowtimers>WindowTimers</a></code> object on which the method was invoked, if any, where <var title="">handle</var>
is the argument passed to the method. (If <var title="">handle</var> does not identify an
entry in the <a href=#list-of-active-timers>list of active timers</a> of the <code><a href=#windowtimers>WindowTimers</a></code> object on which
the method was invoked, the method does nothing.)</p>

16 source

<td><code>table</code> element

<td><code data-x="attr-aria-role-grid">grid</code> role
<td><code data-x="attr-aria-role-grid">grid</code> role with the <code
data-x="attr-aria-readonly">aria-readonly</code> property set to "true"

<tr>

interface <dfn>WindowTimers</dfn> {
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(<span>Function</span> handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(DOMString handler, optional long timeout, any... arguments);
void <span data-x="dom-windowtimers-clearTimeout">clearTimeout</span>(long handle);
void <span data-x="dom-windowtimers-clearTimeout">clearTimeout</span>(optional long handle = 0);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(<span>Function</span> handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(DOMString handler, optional long timeout, any... arguments);
void <span data-x="dom-windowtimers-clearInterval">clearInterval</span>(long handle);
void <span data-x="dom-windowtimers-clearInterval">clearInterval</span>(optional long handle = 0);
};
<span>Window</span> implements <span>WindowTimers</span>;</pre>


<dl class="domintro">

<!-- in practice clearInterval() and clearTimeout() are synonyms, but we don't mention this here -->

<dt><var data-x="">handle</var> = <var data-x="">window</var> . <code data-x="dom-windowtimers-setTimeout">setTimeout</code>( <var data-x="">handler</var> [, <var data-x="">timeout</var> [, <var data-x="">arguments</var>... ] ] )</dt>

<dd>
</dd>

<dt><var data-x="">window</var> . <code data-x="dom-windowtimers-clearTimeout">clearTimeout</code>( <var data-x="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

</dd>

<dt><var data-x="">window</var> . <code data-x="dom-windowtimers-clearInterval">clearInterval</code>( <var data-x="">handle</var> )</dt>
<!-- don't mention that the handle is optional, since if omitted, the method does nothing -->

<dd>

implemented (a <code>Window</code> or <code>WorkerGlobalScope</code> object) as the <var
data-x="">method context</var>, and the <var data-x="">repeat</var> flag set to true.</p>

<!--CLEANUP-->
<p>The <dfn data-x="dom-windowtimers-clearTimeout"><code>clearTimeout()</code></dfn> and <dfn
data-x="dom-windowtimers-clearInterval"><code>clearInterval()</code></dfn> methods must clear the
entry identified as <var data-x="">handle</var> from the <span>list of active timers</span> of the
<code>WindowTimers</code> object on which the method was invoked, where <var data-x="">handle</var>
is the argument passed to the method, if any. (If <var data-x="">handle</var> does not identify an
<code>WindowTimers</code> object on which the method was invoked, if any, where <var data-x="">handle</var>
is the argument passed to the method. (If <var data-x="">handle</var> does not identify an
entry in the <span>list of active timers</span> of the <code>WindowTimers</code> object on which
the method was invoked, the method does nothing.)</p>

0 comments on commit 1b1a59e

Please sign in to comment.
You can’t perform that action at this time.