1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
This commit is contained in:
Jonas Fonseca 2005-12-23 00:53:31 +01:00 committed by Jonas Fonseca
parent 4d6223f6a4
commit 755108cf95

View File

@ -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)
{