Home
last modified time | relevance | path

Searched refs:local_name (Results 1 – 25 of 30) sorted by relevance

12

/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.c320 && (target->local_name == LXB_TAG_TABLE in lxb_html_tree_appropriate_place_inserting_node()
321 || target->local_name == LXB_TAG_TBODY in lxb_html_tree_appropriate_place_inserting_node()
324 || target->local_name == LXB_TAG_TR)) in lxb_html_tree_appropriate_place_inserting_node()
926 switch (node->local_name) { in lxb_html_tree_generate_implied_end_tags()
965 switch (node->local_name) { in lxb_html_tree_generate_all_implied_end_tags_thoroughly()
1074 switch (node->local_name) { in lxb_html_tree_reset_insertion_mode_appropriately()
1214 switch (node->local_name) { in lxb_html_tree_element_in_scope_h123456()
1253 switch (node->local_name) { in lxb_html_tree_element_in_scope_tbody_thead_tfoot()
1289 switch (node->local_name) { in lxb_html_tree_element_in_scope_td_th()
1320 switch (node->local_name) { in lxb_html_tree_check_scope_element()
[all …]
H A Dinterface.c59 node->local_name = tag_id; in lxb_html_interface_create()
107 node->local_name, node->ns); in lxb_html_interface_clone_element()
134 if (node->local_name >= LXB_TAG__LAST_ENTRY) { in lxb_html_interface_destroy()
147 return lxb_html_interface_res_destructor[node->local_name][node->ns](intrfc); in lxb_html_interface_destroy()
H A Dtree_res.h21 const char *local_name; member
H A Dnode.h28 switch (node->local_name) { in lxb_html_node_is_void()
H A Dtree.h282 return node->local_name == tag_id && node->ns == LXB_NS_HTML; in lxb_html_tree_node_is()
346 switch (node->local_name) { in lxb_html_tree_mathml_text_integration_point()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_table_body.c16 while ((current->local_name != LXB_TAG_TBODY in lxb_html_tree_clear_stack_back_to_table_body()
17 && current->local_name != LXB_TAG_TFOOT in lxb_html_tree_clear_stack_back_to_table_body()
18 && current->local_name != LXB_TAG_THEAD in lxb_html_tree_clear_stack_back_to_table_body()
19 && current->local_name != LXB_TAG_TEMPLATE in lxb_html_tree_clear_stack_back_to_table_body()
20 && current->local_name != LXB_TAG_HTML) in lxb_html_tree_clear_stack_back_to_table_body()
H A Din_table.c17 while ((current->local_name != LXB_TAG_TABLE in lxb_html_tree_clear_stack_back_to_table_context()
18 && current->local_name != LXB_TAG_TEMPLATE in lxb_html_tree_clear_stack_back_to_table_context()
19 && current->local_name != LXB_TAG_HTML) in lxb_html_tree_clear_stack_back_to_table_context()
34 (node->local_name == LXB_TAG_TABLE in lxb_html_tree_insertion_mode_in_table_text_open()
35 || node->local_name == LXB_TAG_TBODY in lxb_html_tree_insertion_mode_in_table_text_open()
36 || node->local_name == LXB_TAG_TFOOT in lxb_html_tree_insertion_mode_in_table_text_open()
37 || node->local_name == LXB_TAG_THEAD in lxb_html_tree_insertion_mode_in_table_text_open()
38 || node->local_name == LXB_TAG_TR)) in lxb_html_tree_insertion_mode_in_table_text_open()
H A Din_row.c17 while ((current->local_name != LXB_TAG_TR in lxb_html_tree_clear_stack_back_to_table_row()
18 && current->local_name != LXB_TAG_TEMPLATE in lxb_html_tree_clear_stack_back_to_table_row()
19 && current->local_name != LXB_TAG_HTML) in lxb_html_tree_clear_stack_back_to_table_row()
H A Dforeign_content.c34 if (idx > 0 && list[idx]->local_name != token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
40 if (list[idx]->local_name == token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
65 if (node->local_name != LXB_TAG_SCRIPT || node->ns != LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_script_closed()
99 fixname_svg = lxb_html_tag_fixname_svg(element->element.node.local_name); in lxb_html_tree_insertion_mode_foreign_content_anything_else()
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c1167 return node->local_name == entry->id; in lxb_selectors_match_element()
1404 if(node->local_name == LXB_TAG_A || in lxb_selectors_pseudo_class()
1547 if (node->local_name == LXB_TAG_A in lxb_selectors_pseudo_class()
1691 if(node->local_name == base->local_name in lxb_selectors_pseudo_class_function()
1702 if(node->local_name == base->local_name in lxb_selectors_pseudo_class_function()
1754 uintptr_t tag_id = node->local_name; in lxb_selectors_pseudo_class_disabled()
1790 if (node->local_name != LXB_TAG__TEXT in lxb_selectors_pseudo_class_first_child()
1809 if (node->local_name == root->local_name in lxb_selectors_pseudo_class_first_of_type()
1827 if (node->local_name != LXB_TAG__TEXT in lxb_selectors_pseudo_class_last_child()
1846 if (node->local_name == root->local_name in lxb_selectors_pseudo_class_last_of_type()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dopen_elements.c48 if (node->local_name == tag_id && node->ns == ns) { in lxb_html_tree_open_elements_pop_until_tag_id()
69 switch (node->local_name) { in lxb_html_tree_open_elements_pop_until_h123456()
99 switch (node->local_name) { in lxb_html_tree_open_elements_pop_until_td_th()
207 if (node->local_name == tag_id && node->ns == ns) { in lxb_html_tree_open_elements_find()
237 if (node->local_name == tag_id && node->ns == ns) { in lxb_html_tree_open_elements_find_reverse()
H A Dactive_formatting.c166 fake_token.tag_id = node->local_name; in lxb_html_tree_active_formatting_reconstruct_elements()
199 if (list[idx]->local_name == tag_idx && list[idx]->ns == LXB_NS_HTML) { in lxb_html_tree_active_formatting_between_last_marker()
227 if(list[idx]->local_name == node->local_name && list[idx]->ns == node->ns in lxb_html_tree_active_formatting_push_with_check_dupl()
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Delement.c223 element->node.local_name = tag_data->tag_id; in lxb_dom_element_create()
351 if (attr->node.local_name == LXB_DOM_ATTR_ID) { in lxb_dom_element_attr_append()
361 else if (attr->node.local_name == LXB_DOM_ATTR_CLASS) { in lxb_dom_element_attr_append()
428 if (attr->node.local_name == data->attr_id in lxb_dom_element_attr_by_name()
447 if (attr->node.local_name == data->attr_id) { in lxb_dom_element_attr_by_local_name_data()
464 if (attr->node.local_name == attr_id) { in lxb_dom_element_attr_by_id()
480 if (first->node.local_name != second->node.local_name in lxb_dom_element_compare()
535 if (attr->node.local_name == data->attr_id in lxb_dom_element_attr_is_exist()
657 data = lxb_tag_data_by_id(element->node.local_name); in lxb_dom_element_qualified_name()
708 data->tag_id = element->node.local_name; in lxb_dom_element_upper_update()
[all …]
H A Dattr.c141 attr->node.local_name = data->attr_id; in lxb_dom_attr_set_name()
189 attr->node.local_name = (lxb_dom_attr_id_t) data; in lxb_dom_attr_set_name_ns()
288 attr_to->node.local_name = attr_from->node.local_name; in lxb_dom_attr_clone_name_value()
297 if (first->node.local_name == second->node.local_name in lxb_dom_attr_compare()
473 attr->node.local_name); in lxb_dom_attr_qualified_name()
H A Dnode.c150 dst->local_name = src->local_name; in lxb_dom_node_interface_copy()
161 if (src->local_name < LXB_DOM_ATTR__LAST_ENTRY) { in lxb_dom_node_interface_copy()
162 dst->local_name = src->local_name; in lxb_dom_node_interface_copy()
179 dst->local_name = (lxb_dom_attr_id_t) data; in lxb_dom_node_interface_copy()
183 if (src->local_name < LXB_TAG__LAST_ENTRY) { in lxb_dom_node_interface_copy()
184 dst->local_name = src->local_name; in lxb_dom_node_interface_copy()
187 tag = lxb_tag_data_by_id(src->local_name); in lxb_dom_node_interface_copy()
200 dst->local_name = (lxb_dom_attr_id_t) tag; in lxb_dom_node_interface_copy()
684 if (node->local_name == cb_ctx->name_id in lxb_dom_node_by_tag_name_cb()
1250 if(node->local_name != LXB_TAG__EM_COMMENT) { in lxb_dom_node_is_empty()
[all …]
H A Dattr.h62 lxb_dom_attr_set_name(lxb_dom_attr_t *attr, const lxb_char_t *local_name,
114 attr->node.local_name); in lxb_dom_attr_local_name()
H A Dnode.h46 uintptr_t local_name; /* , lowercase, without prefix: div */ member
178 return node->local_name; in lxb_dom_node_tag_id()
H A Ddocument.c97 node->local_name = LXB_TAG__DOCUMENT; in lxb_dom_document_init()
239 const lxb_char_t *local_name, size_t lname_len, in lxb_dom_document_create_element() argument
258 return lxb_dom_element_create(document, local_name, lname_len, in lxb_dom_document_create_element()
420 if (node->local_name == LXB_TAG_HTML) { in lxb_dom_document_root()
H A Delement.h71 const lxb_char_t *local_name, size_t lname_len,
271 return lxb_dom_interface_node(element)->local_name; in lxb_dom_element_tag_id()
/php-src/ext/dom/
H A Dhtml5_parser.c206 const lxb_char_t *local_name = lxb_dom_attr_local_name(attr, &local_name_length); in lexbor_libxml2_bridge_convert() local
223 lxml_attr->name = xmlDictLookup(lxml_doc->dict, local_name, local_name_length); in lexbor_libxml2_bridge_convert()
236 if (strcmp((const char *) local_name, "xmlns") != 0) { in lexbor_libxml2_bridge_convert()
262 …if (local_name_length == 2 && local_name[0] == 'i' && local_name[1] == 'd' && attr->node.ns == LXB… in lexbor_libxml2_bridge_convert()
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Ddocument.h283 const lxb_char_t *local_name, size_t lname_len, in lxb_html_document_create_element() argument
287 local_name, lname_len, in lxb_html_document_create_element()
334 const lxb_char_t *local_name,
H A Ddocument.c818 element->node.local_name, in lxb_html_document_parse_fragment()
855 element->node.local_name, in lxb_html_document_parse_fragment_chunk_begin()
994 if (node->local_name == LXB_TAG_TITLE && node->ns == LXB_NS_HTML) { in lxb_html_document_title_walker()
1031 if (node->local_name == LXB_TAG_STYLE) {
1058 || node->local_name != LXB_DOM_ATTR_STYLE)
1108 if (node->local_name == LXB_TAG_STYLE) {
1157 if (node->local_name != LXB_DOM_ATTR_STYLE || node->ns != LXB_NS_HTML) {
1259 || node->local_name != LXB_DOM_ATTR_STYLE)
1351 const lxb_char_t *local_name, in lxb_html_document_create_element_noi() argument
1354 return lxb_html_document_create_element(document, local_name, lname_len, in lxb_html_document_create_element_noi()
H A Dstyle_element.c62 || node->first_child->local_name != LXB_TAG__TEXT in lxb_html_style_element_parse()
H A Delement.h128 return lxb_dom_interface_node(element)->local_name; in lxb_html_element_tag_id()
/php-src/ext/dom/lexbor/lexbor/dom/
H A Dinterface.c33 domel->node.local_name = tag_id; in lxb_dom_interface_create()

Completed in 73 milliseconds

12