W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: TBodies ...

From: Don Park <donpark@quake.net>
Date: Fri, 9 Oct 1998 03:31:07 -0700
Message-ID: <000201bdf37a$4daa5490$2ee044c6@arcot-main>
To: "'DOM list'" <www-dom@w3.org>
>However this doesn't quite address my current concern, which is
>what to do in HTMLTableElement.insertRow() in the case where 
>there are currently no TR and no TBODY elements. Should I first
>insert a TBODY element, then insert the TR as one of its
>children, or should I simply insert the TR as a child of the
>TABLE? I was assuming that the former was required, on the
>grounds that a TBODY is implicit in the HTML, and should be
>explicity represented in the DOM.

Take the safe route and insert a TBODY if there isn't one.

Received on Friday, 9 October 1998 07:45:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC