[html5] r8394 - [giow] (3) Fix errors in table.caption, table.tHead, table.tFoot Fixing https:// [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 13 16:05:18 PST 2014


Author: ianh
Date: 2014-01-13 16:05:16 -0800 (Mon, 13 Jan 2014)
New Revision: 8394

Modified:
   complete.html
   index
   source
Log:
[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

Modified: complete.html
===================================================================
--- complete.html	2014-01-13 23:42:06 UTC (rev 8393)
+++ complete.html	2014-01-14 00:05:16 UTC (rev 8394)
@@ -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 — Last Updated 13 January 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — 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>
@@ -33705,8 +33705,7 @@
 
     <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>
 
@@ -33822,13 +33821,12 @@
 
   </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
@@ -33838,13 +33836,14 @@
   <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>
 
@@ -33858,14 +33857,15 @@
   <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

Modified: index
===================================================================
--- index	2014-01-13 23:42:06 UTC (rev 8393)
+++ index	2014-01-14 00:05:16 UTC (rev 8394)
@@ -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 — Last Updated 13 January 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — 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>
@@ -33705,8 +33705,7 @@
 
     <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>
 
@@ -33822,13 +33821,12 @@
 
   </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
@@ -33838,13 +33836,14 @@
   <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>
 
@@ -33858,14 +33857,15 @@
   <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

Modified: source
===================================================================
--- source	2014-01-13 23:42:06 UTC (rev 8393)
+++ source	2014-01-14 00:05:16 UTC (rev 8394)
@@ -36677,8 +36677,7 @@
 
     <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>
 
@@ -36796,13 +36795,12 @@
 
   <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
@@ -36812,13 +36810,14 @@
   <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>
 
@@ -36832,14 +36831,15 @@
   <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




More information about the Commit-Watchers mailing list