Searched refs:parent_is_document (Results 1 – 2 of 2) sorted by relevance
259 …bool parent_is_document = parentNode->type == XML_DOCUMENT_NODE || parentNode->type == XML_HTML_DO… in dom_is_pre_insert_valid_without_step_1() local278 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_is_pre_insert_valid_without_step_1()284 if (!parent_is_document && node->type == XML_DTD_NODE) { in dom_is_pre_insert_valid_without_step_1()291 if (parent_is_document) { in dom_is_pre_insert_valid_without_step_1()
1108 …bool parent_is_document = parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_N… in dom_replace_node_validity_checks() local1109 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_replace_node_validity_checks()1113 if (!parent_is_document && node->type == XML_DTD_NODE) { in dom_replace_node_validity_checks()1121 if (parent_is_document) { in dom_replace_node_validity_checks()
Completed in 12 milliseconds