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

DOM2-HTML: HTMLTableElement

From: Thomas Much <thomas@snailshell.de>
Date: Thu, 20 Dec 2001 18:35:06 +0100
To: <www-dom@w3.org>
Message-ID: <B847DCA1.9AEF%thomas@snailshell.de>
am 16.12.2001 21:31 Uhr schrieb Thomas Much unter thomas@snailshell.de:

> In HTMLTableElement there are tFoot, tHead and caption.
> Why are they *not* readonly?

I asked this a few days ago. OK, you can create new TFOOT, THEAD and CAPTION
elements with document.createElement and assign them to one of the
properties above. But then DOM2-HTML should specify what happens if one
tries to assign a wrong element type ("raises DOMException on setting, if a
wrong element is assigned").

I still think these three properties should be readonly (which would go with
the current documentation of the properties: "_Returns_ the table's
CAPTION..."). Any comments?

bye, Thomas

Received on Thursday, 20 December 2001 12:35:45 UTC

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