W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] HTMLTableElement should have a createTBody method

From: Adam Roben <aroben@apple.com>
Date: Wed, 30 May 2007 20:03:17 -0700
Message-ID: <235D8E09-B00A-4A78-9AA4-7EE83222801E@apple.com>
    The omission of a createTBody method from HTMLTableElement makes  
it rather inconvenient to create a table with both a thead and a tbody  
using the table DOM APIs. After creating a thead, you have to manually  
create and append the tbody to start putting rows into the body of the  
table, so you cannot exclusively use the HTMLTableElement methods to  
populate the table. If a createTBody method is added, I'd suggest that  
it always create a new tbody rather than ever returning an existing one.

-Adam
Received on Wednesday, 30 May 2007 20:03:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC