W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re: DOM2-HTML: HTMLTableElement

From: Philippe Le Hegaret <plh@w3.org>
Date: 22 Mar 2002 16:21:56 -0500
To: WWW DOM <www-dom@w3.org>
Cc: Thomas Much <thomas@snailshell.de>
Message-Id: <1016832116.632.65.camel@jfouffa>
Thomas Much wrote:
> > 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?

If the element type is wrong, those attributes will raise a

for the DOM WG.
Received on Friday, 22 March 2002 16:22:01 UTC

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