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

textarea.rows has no default value noted

From: Jan Carpenter <janc@netscape.com>
Date: Wed, 29 Mar 2000 17:59:15 -0500 (EST)
Message-ID: <38E28A94.CA2FF496@netscape.com>
To: www-dom@w3.org
Hi,
I'm trying to write a testcase for textarea.rows to test the mozilla
browser.  When you specify no rows value, it seems to default to 1,
however there is no supporting documentation for that answer.

The developer noted to me that the DOM does say that an integer
attribute that is not defined gets the value 0, however a textarea with
a value of 0 rows would be rather silly, especially since the rows
attribute is optional.

Nav 4.7 defaults to 1 row, but IE 5 defaults to 2 rows.

Please let me know what the default value should be as soon as possible.

Thanks very much,
Jan Carpenter
janc@netscape.com
Received on Wednesday, 29 March 2000 18:17:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT