Re: textarea.rows has no default value noted

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 UTC