Skip to content

Commit

Permalink
[giow] (3) Fix errors in table.caption, table.tHead, table.tFoot
Browse files Browse the repository at this point in the history
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 e49cdf0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
26 changes: 13 additions & 13 deletions complete.html
Expand Up @@ -298,7 +298,7 @@

<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>
Expand Down Expand Up @@ -33705,8 +33705,7 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co

<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>

Expand Down Expand Up @@ -33822,13 +33821,12 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co

</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
Expand All @@ -33838,13 +33836,14 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co
<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>

Expand All @@ -33858,14 +33857,15 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co
<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
Expand Down
26 changes: 13 additions & 13 deletions index
Expand Up @@ -298,7 +298,7 @@

<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>
Expand Down Expand Up @@ -33705,8 +33705,7 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even

<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>

Expand Down Expand Up @@ -33822,13 +33821,12 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even

</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
Expand All @@ -33838,13 +33836,14 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even
<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>

Expand All @@ -33858,14 +33857,15 @@ dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit>Even
<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
Expand Down
24 changes: 12 additions & 12 deletions source
Expand Up @@ -36677,8 +36677,7 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {

<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>

Expand Down Expand Up @@ -36796,13 +36795,12 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {

<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
Expand All @@ -36812,13 +36810,14 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {
<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>

Expand All @@ -36832,14 +36831,15 @@ dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {
<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
Expand Down

0 comments on commit e49cdf0

Please sign in to comment.