16static lxb_dom_node_t *lxb_html_tree_active_formatting_marker_node_static =
23 return &lxb_html_tree_active_formatting_marker_static;
35 == &lxb_html_tree_active_formatting_marker_static)
53 if (list[idx] == node) {
56 memmove(list + idx, list + idx + 1,
sizeof(
void *) * delta);
73 if (list[i] == node) {
100 if (list[
len] == node) {
125 void **list = af->
list;
128 size_t af_idx = af->
length - 1;
130 if(list[af_idx] == &lxb_html_tree_active_formatting_marker_static
141 while (af_idx != 0) {
144 if(list[af_idx] == &lxb_html_tree_active_formatting_marker_static ||
163 while (af_idx < af->length) {
170 if (element ==
NULL) {
195 if (list[idx] == lxb_html_tree_active_formatting_marker_node_static) {
199 if (list[idx]->local_name == tag_idx && list[idx]->ns ==
LXB_NS_HTML) {
217 size_t earliest_idx = (idx ? (idx - 1) : 0);
223 if (list[idx] == lxb_html_tree_active_formatting_marker_node_static) {
227 if(list[idx]->local_name == node->
local_name && list[idx]->
ns == node->
ns
count(Countable|array $value, int $mode=COUNT_NORMAL)
@ LXB_STATUS_ERROR_MEMORY_ALLOCATION
#define lxb_dom_interface_element(obj)
#define lxb_dom_interface_node(obj)
struct lxb_dom_node lxb_dom_node_t
struct lxb_html_tree lxb_html_tree_t
struct lxb_html_element lxb_html_element_t
bool lxb_dom_element_compare(lxb_dom_element_t *first, lxb_dom_element_t *second)
bool lxb_html_tree_open_elements_find_by_node_reverse(lxb_html_tree_t *tree, lxb_dom_node_t *node, size_t *return_pos)
lexbor_array_t * active_formatting
lxb_inline lxb_html_element_t * lxb_html_tree_insert_html_element(lxb_html_tree_t *tree, lxb_html_token_t *token)
unsigned int lxb_status_t