/PHP-8.4/ext/dom/lexbor/lexbor/css/selectors/ |
H A D | selector.c | 120 return selector; in lxb_css_selector_create() 131 lxb_selector_destroy_map[selector->type](selector, memory); in lxb_css_selector_destroy() 152 selector->next->prev = selector->prev; in lxb_css_selector_remove() 156 selector->prev->next = selector->next; in lxb_css_selector_remove() 159 if (selector->list->first == selector) { in lxb_css_selector_remove() 160 selector->list->first = selector->next; in lxb_css_selector_remove() 163 if (selector->list->last == selector) { in lxb_css_selector_remove() 164 selector->list->last = selector->prev; in lxb_css_selector_remove() 376 selector = selector->next; in lxb_css_selector_serialize_chain() 398 selector = selector->next; in lxb_css_selector_serialize_chain() [all …]
|
H A D | state.c | 1056 lxb_css_selector_t *selector; in lxb_css_selectors_state_hash() local 1091 lxb_css_selector_t *selector; in lxb_css_selectors_state_class() local 1118 lxb_css_selector_t *selector; in lxb_css_selectors_state_element_ns() local 1132 selector->name.data[0] = '*'; in lxb_css_selectors_state_element_ns() 1134 selector->name.length = 1; in lxb_css_selectors_state_element_ns() 1151 lxb_css_selector_t *selector; in lxb_css_selectors_state_element() local 1175 lxb_css_selector_t *selector; in lxb_css_selectors_state_attribute() local 1245 selector->ns = selector->name; in lxb_css_selectors_state_attribute() 1407 selector->ns = selector->name; in lxb_css_selectors_state_ns_ident() 1424 selector->ns = selector->name; in lxb_css_selectors_state_ns_ident() [all …]
|
H A D | selector.h | 184 lxb_css_selector_destroy(lxb_css_selector_t *selector); 187 lxb_css_selector_destroy_chain(lxb_css_selector_t *selector); 190 lxb_css_selector_remove(lxb_css_selector_t *selector); 212 lxb_css_selector_serialize(lxb_css_selector_t *selector, 216 lxb_css_selector_serialize_chain(lxb_css_selector_t *selector, 220 lxb_css_selector_serialize_chain_char(lxb_css_selector_t *selector, 240 lxb_css_selector_combinator(lxb_css_selector_t *selector, size_t *out_length); 244 lxb_css_selector_t *selector);
|
H A D | selectors.h | 92 lxb_css_selector_t *selector) in lxb_css_selectors_append_next() argument 95 lxb_css_selector_append_next(selectors->list_last->last, selector); in lxb_css_selectors_append_next() 98 selectors->list_last->first = selector; in lxb_css_selectors_append_next() 101 selectors->list_last->last = selector; in lxb_css_selectors_append_next()
|
/PHP-8.4/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_no_op.phpt | 43 Code 12 Invalid selector (Selectors. Not supported: default) 51 Code 12 Invalid selector (Selectors. Not supported: fullscreen) 55 Code 12 Invalid selector (Selectors. Not supported: in-range) 59 Code 12 Invalid selector (Selectors. Not supported: invalid) 63 Code 12 Invalid selector (Selectors. Not supported: past) 65 Code 12 Invalid selector (Selectors. Not supported: future) 67 Code 12 Invalid selector (Selectors. Not supported: scope) 69 Code 12 Invalid selector (Selectors. Not supported: target) 75 Code 12 Invalid selector (Selectors. Not supported: valid) 77 Code 12 Invalid selector (Selectors. Not supported: visited) [all …]
|
H A D | test_utils.inc | 3 function test_helper(DOM\ParentNode $dom, string $selector, bool $only_name = false) 5 echo "--- Selector: $selector ---\n"; 7 $all = $dom->querySelectorAll($selector); 8 $single = $dom->querySelector($selector); 29 if (in_array($node, $list, true) !== $node->matches($selector)) { 30 var_dump($node, $selector, in_array($node, $list, true), $node->matches($selector)); 37 function test_failure(DOM\ParentNode $dom, string $selector) 39 echo "--- Selector: $selector ---\n"; 42 var_dump(count($dom->querySelectorAll($selector)));
|
H A D | pseudo_elements.phpt | 33 Code 12 Invalid selector (Selectors. Not supported: after) 35 Code 12 Invalid selector (Selectors. Not supported: before) 37 Code 12 Invalid selector (Selectors. Not supported: backdrop) 39 Code 12 Invalid selector (Selectors. Not supported: first-letter) 41 Code 12 Invalid selector (Selectors. Not supported: first-line) 43 Code 12 Invalid selector (Selectors. Not supported: grammar-error) 47 Code 12 Invalid selector (Selectors. Not supported: marker) 49 Code 12 Invalid selector (Selectors. Not supported: placeholder) 51 Code 12 Invalid selector (Selectors. Not supported: selection) 53 Code 12 Invalid selector (Selectors. Not supported: spelling-error) [all …]
|
H A D | closest_invalid_selector.phpt | 2 Test DOM\Element::closest() method: invalid selector 18 Invalid selector (Selectors. Unexpected token: @invalid)
|
H A D | matches_invalid_selector.phpt | 2 Test DOM\Element::matches() method: invalid selector 18 Invalid selector (Selectors. Unexpected token: @invalid)
|
H A D | closest.phpt | 21 function test($el, $selector) { 22 echo "--- Selector: $selector ---\n"; 23 var_dump($el->closest($selector)?->getAttribute('xml:id'));
|
H A D | pseudo_classes_dir.phpt | 25 Code 12 Invalid selector (Selectors. Not supported: dir) 27 Code 12 Invalid selector (Selectors. Not supported: dir)
|
H A D | pseudo_classes_lang.phpt | 25 Code 12 Invalid selector (Selectors. Not supported: lang) 27 Code 12 Invalid selector (Selectors. Not supported: lang)
|
H A D | pseudo_classes_nth_col.phpt | 34 Code 12 Invalid selector (Selectors. Not supported: nth-col) 36 Code 12 Invalid selector (Selectors. Not supported: nth-last-col)
|
H A D | pseudo_classes_blank.phpt | 23 :blank selector is not implemented because CSSWG has not yet decided its semantics (https://github.…
|
H A D | namespaces.phpt | 54 Code 12 Invalid selector (Selectors. Unexpected token: *)
|
H A D | combinators.phpt | 113 Dom\Document::querySelectorAll(): Argument #1 ($selectors) contains an unsupported selector
|
/PHP-8.4/ext/dom/lexbor/lexbor/selectors-adapted/ |
H A D | selectors.c | 347 entry->selector = list->last; in lxb_selectors_find() 376 entry->selector = list->last; in lxb_selectors_match_node() 502 selector = entry->selector; in lxb_selectors_state_find() 505 pseudo = &selector->u.pseudo; in lxb_selectors_state_find() 623 next->selector = selector->list->next->last; in lxb_selectors_state_find_check() 640 selector = entry->selector; in lxb_selectors_state_find_check() 682 if (selector->prev == NULL) { in lxb_selectors_state_find_check() 705 next->selector = selector->prev; in lxb_selectors_state_find_check() 1090 selector = current->parent->last->selector; in lxb_selectors_state_after_nth_child() 1091 pseudo = &selector->u.pseudo; in lxb_selectors_state_after_nth_child() [all …]
|
H A D | selectors.h | 86 const lxb_css_selector_t *selector; member 247 return selectors->current->entry->selector->list; in lxb_selectors_selector()
|
/PHP-8.4/ext/dom/lexbor/lexbor/selectors/ |
H A D | selectors.c | 272 entry->selector = list->last; in lxb_selectors_find() 304 entry->selector = list->last; in lxb_selectors_match_node() 434 selector = entry->selector; in lxb_selectors_state_find() 567 next->selector = selector->list->next->last; in lxb_selectors_state_find_check() 584 selector = entry->selector; in lxb_selectors_state_find_check() 653 next->selector = selector->prev; in lxb_selectors_state_find_check() 1038 selector = current->parent->last->selector; in lxb_selectors_state_after_nth_child() 1107 switch (selector->type) { in lxb_selectors_match() 1159 selector->name.data, selector->name.length); in lxb_selectors_match_element() 1183 src = &selector->name; in lxb_selectors_match_id() [all …]
|
H A D | selectors.h | 76 const lxb_css_selector_t *selector; member 257 return selectors->current->entry->selector->list; in lxb_selectors_selector()
|
/PHP-8.4/main/ |
H A D | php_scandir.c | 52 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru… in php_scandir() 72 if (selector && (*selector)(dp) == 0) { in php_scandir()
|
H A D | php_scandir.h | 37 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const stru…
|
/PHP-8.4/ext/pcre/tests/ |
H A D | bug76514.phpt | 350 "name": "symfony/css-selector", 473 "symfony/css-selector": "v2.8.2", 532 "symfony/css-selector": "v2.8.2",
|
/PHP-8.4/ext/dom/lexbor/patches/ |
H A D | 0006-Patch-out-unused-CSS-style-code.patch | 126 style->selector, lxb_html_document_style_cb, style); 139 style->selector, 165 style->selector,
|
H A D | README.md | 24 A PHP specific patch to remove CSS style and selector bindings from the Lexbor document.
|