mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Tidyup
This commit is contained in:
parent
4d6223f6a4
commit
755108cf95
@ -714,7 +714,6 @@ match_attribute_selectors(struct dom_select_node *base, struct dom_node *node)
|
||||
static int
|
||||
match_element_selector(struct dom_select_node *selector, struct dom_node *node)
|
||||
{
|
||||
/* Match the node. */
|
||||
if (!has_element_match(selector, DOM_SELECT_ELEMENT_UNIVERSAL)
|
||||
&& dom_node_casecmp(&selector->node, node))
|
||||
return 0;
|
||||
@ -766,6 +765,7 @@ match_element_selector(struct dom_select_node *selector, struct dom_node *node)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/* Matches an element node being visited against the current selector stack. */
|
||||
static void
|
||||
dom_select_push_element(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
@ -934,6 +934,7 @@ static struct dom_stack_context_info dom_select_data_context_info = {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
struct dom_node_list *
|
||||
select_dom_nodes(struct dom_select *select, struct dom_node *root)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user