[html5] r1381 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat Mar 22 20:27:49 PDT 2008
Author: ianh
Date: 2008-03-22 20:27:48 -0700 (Sat, 22 Mar 2008)
New Revision: 1381
Modified:
index
source
Log:
[giow] (2) introduce createTBody().
Modified: index
===================================================================
--- index 2008-03-23 02:55:44 UTC (rev 1380)
+++ index 2008-03-23 03:27:48 UTC (rev 1381)
@@ -19219,6 +19219,7 @@
HTMLElement <a href="#createtfoot" title=dom-table-createTFoot>createTFoot</a>();
void <a href="#deletetfoot" title=dom-table-deleteTFoot>deleteTFoot</a>();
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#tbodies" title=dom-table-tBodies>tBodies</a>;
+ HTMLElement <a href="#createtbody" title=dom-table-createTBody>createTBody</a>();
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#rows" title=dom-table-rows>rows</a>;
HTMLElement <a href="#insertrow" title=dom-table-insertRow>insertRow</a>(in long index);
void <a href="#deleterow" title=dom-table-deleteRow>deleteRow</a>(in long index);
@@ -19368,6 +19369,16 @@
href="#tbody">tbody</a></code> elements that are children of the <code><a
href="#table">table</a></code> element.
+ <p>The <dfn id=createtbody
+ title=dom-table-createTBody><code>createTBody()</code></dfn> method must
+ create a new <code><a href="#tbody">tbody</a></code> element, insert it
+ immediately after the last <code><a href="#tbody">tbody</a></code> element
+ in the <code><a href="#table">table</a></code> element, if any, or at the
+ end of the <code><a href="#table">table</a></code> element if the <code><a
+ href="#table">table</a></code> element has no <code><a
+ href="#tbody">tbody</a></code> element children, and then must return the
+ new <code><a href="#tbody">tbody</a></code> element.
+
<p>The <dfn id=rows title=dom-table-rows><code>rows</code></dfn> attribute
must return an <code><a href="#htmlcollection0">HTMLCollection</a></code>
rooted at the <code><a href="#table">table</a></code> node, whose filter
Modified: source
===================================================================
--- source 2008-03-23 02:55:44 UTC (rev 1380)
+++ source 2008-03-23 03:27:48 UTC (rev 1381)
@@ -16845,6 +16845,7 @@
HTMLElement <span title="dom-table-createTFoot">createTFoot</span>();
void <span title="dom-table-deleteTFoot">deleteTFoot</span>();
readonly attribute <span>HTMLCollection</span> <span title="dom-table-tBodies">tBodies</span>;
+ HTMLElement <span title="dom-table-createTBody">createTBody</span>();
readonly attribute <span>HTMLCollection</span> <span title="dom-table-rows">rows</span>;
HTMLElement <span title="dom-table-insertRow">insertRow</span>(in long index);
void <span title="dom-table-deleteRow">deleteRow</span>(in long index);
@@ -16981,6 +16982,15 @@
<code>tbody</code> elements that are children of the
<code>table</code> element.</p>
+ <p>The <dfn
+ title="dom-table-createTBody"><code>createTBody()</code></dfn>
+ method must create a new <code>tbody</code> element, insert it
+ immediately after the last <code>tbody</code> element in the
+ <code>table</code> element, if any, or at the end of the
+ <code>table</code> element if the <code>table</code> element has no
+ <code>tbody</code> element children, and then must return the new
+ <code>tbody</code> element.</p>
+
<p>The <dfn title="dom-table-rows"><code>rows</code></dfn> attribute
must return an <code>HTMLCollection</code> rooted at the
<code>table</code> node, whose filter matches only <code>tr</code>
More information about the Commit-Watchers
mailing list