W3C home > Mailing lists > Public > www-dom-ts@w3.org > September 2002

HTMLInputElement13.html - Bug in HTML4 spec?

From: David Faure <david@mandrakesoft.com>
Date: Sun, 22 Sep 2002 13:46:17 +0200 (CEST)
To: <www-dom-ts@w3.org>
cc: <mueller@kde.org>
Message-ID: <Pine.LNX.4.33L2.0209221341220.30684-100000@smtp.mandrakesoft.com>

http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-INPUT says
that the size attribute (of HTML INPUT) is a cdata.

The DOM2HTML-TS test tests for it as a number (test
HTMLInputElement13.html :
      assertEquals("size",25,vsize);

It sounds logical that it would be a number - does this mean the
HTML4 spec should say "number" instead of "cdata" ?

(It seems IE implements it as a number too,
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/size_2.asp
)

David.
Received on Sunday, 22 September 2002 07:45:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:47 GMT