HTML5 define a new input type="search":
http://www.w3.org/TR/html-markup/input.search.html
declare this element to be editable, in order to switch in input-mode
when use it.
if (!g_ascii_strcasecmp(tagname, "textarea")) {
result = true;
} else if (!g_ascii_strcasecmp(tagname, "input")
- && (!*type || !g_ascii_strcasecmp(type, "text") || !g_ascii_strcasecmp(type, "password"))
+ && (!*type || !g_ascii_strcasecmp(type, "text") || !g_ascii_strcasecmp(type, "password")
+ || !g_ascii_strcasecmp(type, "search"))
) {
result = true;
} else {