mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Only obey size property on input elements that are either text or password. Fixes submit buttons with size properties being too small/large.
svn path=/trunk/netsurf/; revision=10191
This commit is contained in:
parent
66d1418506
commit
974f42f8cf
@ -1474,6 +1474,10 @@ css_error node_presentational_hint(void *pw, void *node,
|
||||
strcasecmp((const char *) type,
|
||||
"password") == 0)
|
||||
hint->data.length.unit = CSS_UNIT_EX;
|
||||
else {
|
||||
xmlFree(type);
|
||||
return CSS_PROPERTY_NOT_SET;
|
||||
}
|
||||
|
||||
if (type != NULL)
|
||||
xmlFree(type);
|
||||
|
Loading…
Reference in New Issue
Block a user