diff options
author | corvid <devnull@localhost> | 2015-01-23 01:10:56 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-01-23 01:10:56 +0000 |
commit | 889d8cb81e168d20ea757a75e81578299902d5f0 (patch) | |
tree | 3d73a3f9135e8d898c9bb211f53b32c508e89ceb /src/form.cc | |
parent | 48947c61e528e697c3ec931929f4fb4718316268 (diff) |
TEXTAREA, html5 wants default for rows to be 2.
We already have it that way for rows < 1, but not for when rows was not
specified.
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/form.cc b/src/form.cc index f98002d6..366b00b9 100644 --- a/src/form.cc +++ b/src/form.cc @@ -658,7 +658,7 @@ void Html_tag_content_textarea(DilloHtml *html, const char *tag, int tagsize) } else { if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) BUG_MSG("<textarea> requires rows attribute."); - rows = 10; + rows = 2; } if (rows < 1 || rows > MAX_ROWS) { int badRows = rows; |