diff options
author | corvid <corvid@dillo.org> | 2013-09-05 19:38:23 +0000 |
---|---|---|
committer | corvid <corvid@dillo.org> | 2013-09-05 19:38:23 +0000 |
commit | d6f101c5cb2372965086ba5fc52fb324005d85e9 (patch) | |
tree | efac5c8dc9096e15ed6fa657f34f6e7fef8a87c7 /src | |
parent | d87db43c658228cf49acacf2f7650b797010b81c (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').
Diffstat (limited to 'src')
-rw-r--r-- | src/form.cc | 2 |
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); |