Skip to content
Permalink
Browse files

[giow] (3) Fix errors in table.caption, table.tHead, table.tFoot

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24263
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8394 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Jan 14, 2014
1 parent eedce03 commit e49cdf03bf281b448deace4c75113df9f1f0b17c
Showing with 38 additions and 38 deletions.
  1. +13 −13 complete.html
  2. +13 −13 index
  3. +12 −12 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 13 January 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 14 January 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>

<p>Returns the table's <code><a href=#the-caption-element>caption</a></code> element.</p>

<p>Can be set, to replace the <code><a href=#the-caption-element>caption</a></code> element. If the new value is not a
<code><a href=#the-caption-element>caption</a></code> element, throws a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception.</p>
<p>Can be set, to replace the <code><a href=#the-caption-element>caption</a></code> element.</p>

</dd>


</dl><div class=impl>

<!--CLEANUP-->
<p>The <dfn id=dom-table-caption title=dom-table-caption><code>caption</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any,
or null otherwise. On setting, if the new value is a <code><a href=#the-caption-element>caption</a></code> element, the first
or null otherwise. On setting, the first
<code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted as the first node of the <code><a href=#the-table-element>table</a></code> element. If the new
value is not a <code><a href=#the-caption-element>caption</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
exception must be thrown instead.</p>
the new value, if not null, must be inserted as the first node of the <code><a href=#the-table-element>table</a></code> element.</p>

<p>The <dfn id=dom-table-createcaption title=dom-table-createCaption><code>createCaption()</code></dfn> method must return
the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any; otherwise
<p>The <dfn id=dom-table-deletecaption title=dom-table-deleteCaption><code>deleteCaption()</code></dfn> method must remove
the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-table-thead title=dom-table-tHead><code>tHead</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, or
null otherwise. On setting, if the new value is a <code><a href=#the-thead-element>thead</a></code> element, the first
null otherwise. On setting, if the new value is null or a <code><a href=#the-thead-element>thead</a></code> element, the first
<code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
the new value, if not null, must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
element that is neither a <code><a href=#the-caption-element>caption</a></code> element nor a <code><a href=#the-colgroup-element>colgroup</a></code> element, if
any, or at the end of the table if there are no such elements. If the new value is not a
any, or at the end of the table if there are no such elements. If the new value is neither null nor a
<code><a href=#the-thead-element>thead</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM exception must be thrown
instead.</p>

<p>The <dfn id=dom-table-deletethead title=dom-table-deleteTHead><code>deleteTHead()</code></dfn> method must remove the
first <code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-table-tfoot title=dom-table-tFoot><code>tFoot</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-tfoot-element>tfoot</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, or
null otherwise. On setting, if the new value is a <code><a href=#the-tfoot-element>tfoot</a></code> element, the first
null otherwise. On setting, if the new value is null or a <code><a href=#the-tfoot-element>tfoot</a></code> element, the first
<code><a href=#the-tfoot-element>tfoot</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
the new value, if not null, must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
element that is neither a <code><a href=#the-caption-element>caption</a></code> element, a <code><a href=#the-colgroup-element>colgroup</a></code> element, nor a
<code><a href=#the-thead-element>thead</a></code> element, if any, or at the end of the table if there are no such elements. If
the new value is not a <code><a href=#the-tfoot-element>tfoot</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
the new value is neither null nor a <code><a href=#the-tfoot-element>tfoot</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
exception must be thrown instead.</p>

<p>The <dfn id=dom-table-createtfoot title=dom-table-createTFoot><code>createTFoot()</code></dfn> method must return the
26 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 13 January 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 14 January 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>

<p>Returns the table's <code><a href=#the-caption-element>caption</a></code> element.</p>

<p>Can be set, to replace the <code><a href=#the-caption-element>caption</a></code> element. If the new value is not a
<code><a href=#the-caption-element>caption</a></code> element, throws a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception.</p>
<p>Can be set, to replace the <code><a href=#the-caption-element>caption</a></code> element.</p>

</dd>


</dl><div class=impl>

<!--CLEANUP-->
<p>The <dfn id=dom-table-caption title=dom-table-caption><code>caption</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any,
or null otherwise. On setting, if the new value is a <code><a href=#the-caption-element>caption</a></code> element, the first
or null otherwise. On setting, the first
<code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted as the first node of the <code><a href=#the-table-element>table</a></code> element. If the new
value is not a <code><a href=#the-caption-element>caption</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
exception must be thrown instead.</p>
the new value, if not null, must be inserted as the first node of the <code><a href=#the-table-element>table</a></code> element.</p>

<p>The <dfn id=dom-table-createcaption title=dom-table-createCaption><code>createCaption()</code></dfn> method must return
the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any; otherwise
<p>The <dfn id=dom-table-deletecaption title=dom-table-deleteCaption><code>deleteCaption()</code></dfn> method must remove
the first <code><a href=#the-caption-element>caption</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-table-thead title=dom-table-tHead><code>tHead</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, or
null otherwise. On setting, if the new value is a <code><a href=#the-thead-element>thead</a></code> element, the first
null otherwise. On setting, if the new value is null or a <code><a href=#the-thead-element>thead</a></code> element, the first
<code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
the new value, if not null, must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
element that is neither a <code><a href=#the-caption-element>caption</a></code> element nor a <code><a href=#the-colgroup-element>colgroup</a></code> element, if
any, or at the end of the table if there are no such elements. If the new value is not a
any, or at the end of the table if there are no such elements. If the new value is neither null nor a
<code><a href=#the-thead-element>thead</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM exception must be thrown
instead.</p>

<p>The <dfn id=dom-table-deletethead title=dom-table-deleteTHead><code>deleteTHead()</code></dfn> method must remove the
first <code><a href=#the-thead-element>thead</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn id=dom-table-tfoot title=dom-table-tFoot><code>tFoot</code></dfn> IDL attribute must return, on
getting, the first <code><a href=#the-tfoot-element>tfoot</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, or
null otherwise. On setting, if the new value is a <code><a href=#the-tfoot-element>tfoot</a></code> element, the first
null otherwise. On setting, if the new value is null or a <code><a href=#the-tfoot-element>tfoot</a></code> element, the first
<code><a href=#the-tfoot-element>tfoot</a></code> element child of the <code><a href=#the-table-element>table</a></code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
the new value, if not null, must be inserted immediately before the first element in the <code><a href=#the-table-element>table</a></code>
element that is neither a <code><a href=#the-caption-element>caption</a></code> element, a <code><a href=#the-colgroup-element>colgroup</a></code> element, nor a
<code><a href=#the-thead-element>thead</a></code> element, if any, or at the end of the table if there are no such elements. If
the new value is not a <code><a href=#the-tfoot-element>tfoot</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
the new value is neither null nor a <code><a href=#the-tfoot-element>tfoot</a></code> element, then a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> DOM
exception must be thrown instead.</p>

<p>The <dfn id=dom-table-createtfoot title=dom-table-createTFoot><code>createTFoot()</code></dfn> method must return the
24 source

<p>Returns the table's <code>caption</code> element.</p>

<p>Can be set, to replace the <code>caption</code> element. If the new value is not a
<code>caption</code> element, throws a <code>HierarchyRequestError</code> exception.</p>
<p>Can be set, to replace the <code>caption</code> element.</p>

</dd>


<div class="impl">

<!--CLEANUP-->
<p>The <dfn data-x="dom-table-caption"><code>caption</code></dfn> IDL attribute must return, on
getting, the first <code>caption</code> element child of the <code>table</code> element, if any,
or null otherwise. On setting, if the new value is a <code>caption</code> element, the first
or null otherwise. On setting, the first
<code>caption</code> element child of the <code>table</code> element, if any, must be removed, and
the new value must be inserted as the first node of the <code>table</code> element. If the new
value is not a <code>caption</code> element, then a <code>HierarchyRequestError</code> DOM
exception must be thrown instead.</p>
the new value, if not null, must be inserted as the first node of the <code>table</code> element.</p>

<p>The <dfn data-x="dom-table-createCaption"><code>createCaption()</code></dfn> method must return
the first <code>caption</code> element child of the <code>table</code> element, if any; otherwise
<p>The <dfn data-x="dom-table-deleteCaption"><code>deleteCaption()</code></dfn> method must remove
the first <code>caption</code> element child of the <code>table</code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn data-x="dom-table-tHead"><code>tHead</code></dfn> IDL attribute must return, on
getting, the first <code>thead</code> element child of the <code>table</code> element, if any, or
null otherwise. On setting, if the new value is a <code>thead</code> element, the first
null otherwise. On setting, if the new value is null or a <code>thead</code> element, the first
<code>thead</code> element child of the <code>table</code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code>table</code>
the new value, if not null, must be inserted immediately before the first element in the <code>table</code>
element that is neither a <code>caption</code> element nor a <code>colgroup</code> element, if
any, or at the end of the table if there are no such elements. If the new value is not a
any, or at the end of the table if there are no such elements. If the new value is neither null nor a
<code>thead</code> element, then a <code>HierarchyRequestError</code> DOM exception must be thrown
instead.</p>

<p>The <dfn data-x="dom-table-deleteTHead"><code>deleteTHead()</code></dfn> method must remove the
first <code>thead</code> element child of the <code>table</code> element, if any.</p>

<!--CLEANUP-->
<p>The <dfn data-x="dom-table-tFoot"><code>tFoot</code></dfn> IDL attribute must return, on
getting, the first <code>tfoot</code> element child of the <code>table</code> element, if any, or
null otherwise. On setting, if the new value is a <code>tfoot</code> element, the first
null otherwise. On setting, if the new value is null or a <code>tfoot</code> element, the first
<code>tfoot</code> element child of the <code>table</code> element, if any, must be removed, and
the new value must be inserted immediately before the first element in the <code>table</code>
the new value, if not null, must be inserted immediately before the first element in the <code>table</code>
element that is neither a <code>caption</code> element, a <code>colgroup</code> element, nor a
<code>thead</code> element, if any, or at the end of the table if there are no such elements. If
the new value is not a <code>tfoot</code> element, then a <code>HierarchyRequestError</code> DOM
the new value is neither null nor a <code>tfoot</code> element, then a <code>HierarchyRequestError</code> DOM
exception must be thrown instead.</p>

<p>The <dfn data-x="dom-table-createTFoot"><code>createTFoot()</code></dfn> method must return the

0 comments on commit e49cdf0

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