- From: Philippe Le Hegaret <plh@w3.org>
- Date: 15 Feb 2002 14:47:07 -0500
- To: Thomas Much <thomas@snailshell.de>
- Cc: WWW DOM <www-dom@w3.org>
Apologies for missing your two questions in the mailing list. I added them under #21 and #22: http://www.w3.org/2001/12/DOM-Level-2-issues Thank you for the reminder, Philippe On Thu, 2002-02-14 at 18:16, Thomas Much wrote: > am 11.02.2002 20:27 Uhr schrieb Philippe Le Hegaret unter plh@w3.org: > > >> In HTMLTableElement there are tFoot, tHead and caption. > >> Why are they *not* readonly? > > > > You can always remove the elements in the table by using the removeNode > > methods. It doesn't seem necessary to make them readonly without a > > rational and these attributes are already readwrite in implementations. > > > > The decision was not to accept the requested changes. > > That's OK for this question, but IMHO there are still two questions > unresolved: > > > [again setting tFoot, tHead and caption] > > 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"). > (Message-ID: <B847DCA1.9AEF%thomas@snailshell.de>) > > Mozilla 0.9.8 throws a conversion error in this case. > > > > HTMLSelectElement.add raises a DOMException(NOT_FOUND_ERR) if the "before" > > argument is not a descendant of the SELECT element. OK. > > > > But what happens if I try to add an element (passed in the "element" > > argument), that is not an OPTION element? Currently, add is directly delegated > > to Node.appendChild or Node.insertBefore - that is, I can add HEAD, IMG, FORM > > elements to the options array... That makes no sense. > > > > If the standard specifies a special operation for adding OPTIONs, it should > > deal with errors specially and raise an exception if an element other than > > OPTION is passed. > (Message-ID: <B847DF6C.9AEF%thomas@snailshell.de>) > > MSIE 5.1.3 (Mac) throws a "type mismatch" error in this case. > > bye, Thomas -- Philippe Le Hegaret - http://www.w3.org/People/LeHegaret/ World Wide Web Consortium (W3C), DOM Activity Lead
Received on Friday, 15 February 2002 14:47:09 UTC