mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-01 16:54:30 +03:00
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
This commit is contained in:
commit
0b37b1a7e7
@ -1058,8 +1058,9 @@ css_error node_has_attribute_includes(void *pw, void *node,
|
||||
const char *start;
|
||||
const char *end;
|
||||
|
||||
*match = false;
|
||||
|
||||
if (vlen == 0) {
|
||||
*match = false;
|
||||
return CSS_OK;
|
||||
}
|
||||
|
||||
|
@ -468,9 +468,6 @@ struct form_control *html_forms_get_control_for_node(struct form *forms, dom_nod
|
||||
dom_exception err;
|
||||
dom_string *ds_name = NULL;
|
||||
|
||||
if (forms == NULL)
|
||||
return NULL;
|
||||
|
||||
/* Step one, see if we already have a control */
|
||||
for (f = forms; f != NULL; f = f->prev) {
|
||||
for (ctl = f->controls; ctl != NULL; ctl = ctl->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user