Home
last modified time | relevance | path

Searched refs:div (Results 1 – 25 of 88) sorted by relevance

1234

/PHP-8.4/ext/dom/tests/modern/css_selectors/
H A Dquirks_mode.phpt15 <div id="hI"/>
30 <div id="hI"/>
45 <div id="hI">
46 </div></div>
49 <div id="hI">
50 </div></div>
53 </div>
56 </div>
63 <div id="hI">
64 </div></div>
[all …]
H A Dpseudo_classes_empty.phpt12 <div class="empty">
14 <div></div>
17 <div><!-- Simple Comment --></div>
20 <div><?foo?></div>
23 <div><![CDATA[foo]]></div>
26 <div><p></p></div>
27 </div>
35 --- Selector: .empty > div:empty ---
36 <div/>
37 <div><!-- Simple Comment --></div>
[all …]
H A Dpseudo_classes_has.phpt12 <div>
14 </div>
15 <div>
17 </div>
21 test_helper($dom, 'div:has(p.foo)');
26 --- Selector: div:has(p.foo) ---
27 <div>
29 </div>
30 --- Selector: div:has(:not(p.foo)) ---
31 <div>
[all …]
H A Dclosest.phpt11 <div class="foo" xml:id="div1">
12 <div xml:id="div2">
13 <div class="bar" xml:id="div3"/>
14 </div>
15 </div>
26 test($dom->getElementById('div3'), 'div');
29 test($dom->getElementById('div3'), ':not(div)');
36 --- Selector: div ---
42 --- Selector: :not(div) ---
46 --- Selector: root :not(div[class]) ---
[all …]
H A Dpseudo_classes_disabled_enabled.phpt28 <div>
30 </div>
32 <div>
34 </div>
57 <div>
61 <div>
63 </div>
84 <div>
88 <div>
90 </div>
[all …]
H A Dpseudo_classes_current.phpt12 <div/>
16 test_helper($dom, ':current(div)');
20 --- Selector: :current(div) ---
21 <div xmlns="http://www.w3.org/1999/xhtml"></div>
H A Dpseudo_classes_only_of_type.phpt12 <div class="only-of-type1">
14 </div>
15 <div class="only-of-type2">
18 </div>
19 <div class="only-of-type3">
21 <div/>
23 </div>
H A Dcombinators.phpt17 <div class="">
23 </div>
24 </div>
48 test_helper($dom, 'body div p');
49 test_helper($dom, 'div > *');
50 test_helper($dom, 'div > p');
87 --- Selector: body div p ---
90 --- Selector: div > * ---
96 </div>
98 --- Selector: div > p ---
[all …]
/PHP-8.4/ext/dom/tests/
H A Dbug76285.phpt12 $html = '<div><div><a>test</a></div><div><a>test2</a></div></div>';
20 string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
21 string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
H A DDOMElement_id.phpt18 var_dump($div->id);
20 var_dump($div->id);
21 $div->id = "";
22 var_dump($div->id);
23 $div->id = "é";
24 var_dump($div->id);
25 $div->id = "\0";
26 var_dump($div->id);
27 $div->id = 12345;
28 var_dump($div->id);
[all …]
H A Dbug65196.phpt13 $div = $dom->createElement('div');
14 $div->appendChild($dom->createElement('span'));
15 $frag2->appendChild($div);
16 $frag2->appendChild($dom->createElement('div'));
17 $frag2->appendChild($dom->createElement('div'));
22 string(46) "<div><span></span></div><div></div><div></div>"
H A Dgh11625.phpt11 <div></div><div></div>
20 foreach ($divs as $div) {
21 $mutator($dom, $div, $i);
29 test(function($dom, $div, $i) {
32 $div->replaceWith($fragment);
37 test(function($dom, $div, $i) {
45 test(function($dom, $div, $i) {
47 $div->replaceWith($fragment);
54 <p>Hi 0!</p><div></div>
61 <p>Hi 0!</p><x></x>hello<div></div>
[all …]
H A DDOMNode_contains.phpt19 <div><p>container</p></div>
29 $div = $xpath->query("//div")[0];
46 var_dump($div->contains($div));
47 var_dump($main->contains($div));
49 var_dump($main->contains($div->firstElementChild));
50 var_dump($div->contains($div->firstElementChild));
60 var_dump($div->contains($main));
62 var_dump($div->contains($main->firstElementChild));
63 var_dump($div->contains($main->firstElementChild->nextElementSibling));
64 var_dump($div->contains($main->lastChild));
H A Dgh11289.phpt12 <div></div>
20 $divs = iterator_to_array($dom->getElementsByTagName('div')->getIterator());
21 foreach ($divs as $div) {
24 $div->replaceWith(...$fragment->childNodes);
/PHP-8.4/ext/bcmath/tests/number/methods/
H A Ddiv_mod_by_zero.phpt60 div: OK
65 div: OK
70 div: OK
75 div: OK
80 div: OK
85 div: OK
90 div: OK
95 div: OK
100 div: OK
105 div: OK
[all …]
/PHP-8.4/ext/dom/tests/modern/html/parser/
H A DElement_innerHTML.phpt9 $el = $dom->createElement('div');
13 $el->innerHTML = '</div>';
17 $el->innerHTML = '<div></div>&nbsp;<p></p>';
49 <div xmlns="http://www.w3.org/1999/xhtml"><p>foo</p></div>
51 <div xmlns="http://www.w3.org/1999/xhtml"></div>
53 <div xmlns="http://www.w3.org/1999/xhtml"></div>
55 <div xmlns="http://www.w3.org/1999/xhtml"><div></div> <p></p></div>
57 <div xmlns="http://www.w3.org/1999/xhtml">invalid�utf-8������</div>
59 <div xmlns="http://www.w3.org/1999/xhtml">my valid string</div>
H A DHTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_error.phpt8 $dom = Dom\HTMLDocument::createFromString("<div>foo</div>", LIBXML_HTML_NOIMPLIED);
13 <div>foo</div>
/PHP-8.4/ext/dom/tests/modern/common/
H A Dtemplate_participation.phpt12 <template>a<div>foo</div>b</template>
31 var_dump($template->querySelector('div'));
33 echo "XPath should not find div element in shadow DOM:\n";
35 var_dump($xpath->query('//div'));
59 Inner HTML after idempotent modification: string(16) "a<div>foo</div>b"
60 Selector should not find div element in shadow DOM: NULL
61 XPath should not find div element in shadow DOM:
68 <template>a<div>foo</div>b</template>
72 <template>a<div>foo</div>b</template>
77 <template>a<div>foo</div>b</template>
[all …]
H A Dtemplate_no_default_ns.phpt12 <template>a<div>foo</div>b</template>
23 string(16) "a<div>foo</div>b"
24 string(3) "div"
H A Dtemplate_rename.phpt12 <template>a<div>foo</div>b</template>
32 string(16) "a<div>foo</div>b"
35 string(16) "a<div>foo</div>b"
/PHP-8.4/ext/dom/tests/modern/html/serializer/
H A DElement_innerHTML.phpt8 …FromString('<!DOCTYPE html><html><head><title>Test</title></head><body><div></div><p>Hello, World!…
12 var_dump($dom->getElementsByTagName('div')[0]->innerHTML);
17 string(31) "<div></div><p>Hello, World!</p>"
19 string(76) "<head><title>Test</title></head><body><div></div><p>Hello, World!</p></body>"
/PHP-8.4/ext/pcre/tests/
H A Dpreg_replace_callback.phpt13 $input = '<div style="margin-left: 10px">'.$input[1].'</div>';
25 plain <div style="margin-left: 10px"> deep <div style="margin-left: 10px"> [abcd]deeper[/abcd] </di…
/PHP-8.4/ext/tidy/tests/
H A Dsibling_nodes.phpt12 <div>first</div>
14 <div>third</div>
45 Previous: string(16) "<div>first</div>"
46 Next: string(16) "<div>third</div>"
/PHP-8.4/ext/dom/tests/compareDocumentPosition/
H A Delement_order_same_depth.phpt12 <div>
13 <div>
16 </div>
17 </div>
18 <div>
19 <div>
22 </div>
23 </div>
H A Delement_order_different_depth.phpt12 <div>
14 </div>
15 <div>
16 <div>
18 </div>
19 </div>

Completed in 33 milliseconds

1234