aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@dillo.org>2013-09-05 19:38:23 +0000
committercorvid <corvid@dillo.org>2013-09-05 19:38:23 +0000
commitd6f101c5cb2372965086ba5fc52fb324005d85e9 (patch)
treeefac5c8dc9096e15ed6fa657f34f6e7fef8a87c7
parentd87db43c658228cf49acacf2f7650b797010b81c (diff)
html5, don't complain about unknown input type
...now that there's tel, url, email, datetime, date, month, week, time, datetime-local, number, range, color (all of which I imagine we will continue to regard as 'text').
-rw-r--r--src/form.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index 6da5567b..4279c0a4 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -530,8 +530,6 @@ void Html_tag_open_input(DilloHtml *html, const char *tag, int tagsize)
} else {
/* Text input, which also is the default */
inp_type = DILLO_HTML_INPUT_TEXT;
- if (*type && dStrAsciiCasecmp(type, "text"))
- BUG_MSG("Unknown input type: \"%s\"\n", type);
attrbuf = a_Html_get_attr(html, tag, tagsize, "size");
int size = Html_input_get_size(html, attrbuf);
resource = factory->createEntryResource(size, false, NULL);