W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

HTMLTableElement.create{Caption,TFoot,THead} methods

From: David Flanagan <david@oreilly.com>
Date: Tue, 7 Aug 2001 15:24:30 -0700
Message-Id: <200108072224.PAA02059@oxymoron.oreilly.com>
To: www-dom@w3.org

The DOM 1 specification (including the draft of the 2nd edition) and the
DOM Level 2 HTML working draft specify that the createCaption(),
createTFoot(), and createTHead() methods of HTMLTableElement create a
<CAPTION>, <TFOOT>, or <THEAD> element, or return the existing one if
the table already has one.

What the specification omits to mention is whether the newly created
element is automatically inserted into the document tree at the
appropriate location within the table.

I assume that these methods are intended to insert any newly created
elements into the table automatically.  Is this assumption correct?

Can this be clarified in the second edition draft of the Level 1 spec,
and in the current working draft of the HTML Level 2 spec?

    David Flanagan
Received on Thursday, 9 August 2001 06:03:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT