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

Re: textarea.rows has no default value noted

From: <keshlam@us.ibm.com>
Date: Wed, 29 Mar 2000 19:00:06 -0500
To: www-dom@w3.org
Message-ID: <852568B2.00000317.00@D51MTA03.pok.ibm.com>
This is out of the bounds of the DOM per se. It's an HTML issue.

The DOM spec refers readers to to the HTML4 definition of the rows
attribute. I'm not an HTML guru, but the HTML DTDs say the rows attribute
of a textarea is #REQUIRED ... so officially there _isn't_ a default value.
If you don't specify it your document is officially incorrect, and a
browser can do whatever seems reasonable with it -- which may mean assuming
0, 1, 2, more, or rejecting the HTML entirely.

______________________________________
Joe Kesselman  / IBM Research
Received on Wednesday, 29 March 2000 19:00:29 GMT

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