- From: Philippe Le Hegaret <plh@w3.org>
- Date: 24 Sep 2002 13:38:07 -0400
- To: Philippe Le Hegaret <plh@w3.org>
- Cc: "Glenn A. Adams" <glenn@xfsi.com>, WWW DOM <www-dom@w3.org>
On Tue, 2002-09-24 at 13:31, Philippe Le Hegaret wrote: > > On Fri, 2002-09-20 at 20:49, Glenn A. Adams wrote: > > > > > > I just noticed that the DOM-2 HTML Spec of June 5, in Section 1.6.1, > > indicates that the DOM type which corresponds to CDATA is DOMString > > and the type which corresponds to NUMBER is long int. > > > > This results in an inconsistency based on certain proposed changes > > from DOM-1 to DOM-2. In particular, the following properties have been > > assigned in integral type, yet are specified in the HTML/XHTML DTDs as > > CDATA: > > > > HTMLInputElement - size > > HTMLImageElement - border, height, hspace, width, vspace > > > > I believe these should be reverted to the use of DOMString as > > specified in DOM-1, and that implementations (IE, Mozilla) be brought > > into conformance with this definition. > > I disagree. DOM Level 1 HTML failed to fulfil its contracts of not > breaking the backward compatiblity with DOM Level 0. This comment was > brought to our attention in at the end of 2000 and we already made the > commitment to fix that. I don't think it's wise to revert the decision. > width and height are numbers in DOM0, therefore we cannot change them > back to numbers unless we expose them in a different way. It is clearly I meant back to DOMString of course. Philippe
Received on Tuesday, 24 September 2002 13:38:21 UTC