summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2015-01-23 01:10:56 +0000
committercorvid <devnull@localhost>2015-01-23 01:10:56 +0000
commit889d8cb81e168d20ea757a75e81578299902d5f0 (patch)
tree3d73a3f9135e8d898c9bb211f53b32c508e89ceb /src
parent48947c61e528e697c3ec931929f4fb4718316268 (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')
-rw-r--r--src/form.cc2
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;