/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | quirks_mode.phpt | 15 <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 D | pseudo_classes_empty.phpt | 12 <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 D | pseudo_classes_has.phpt | 12 <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 D | closest.phpt | 11 <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 D | pseudo_classes_disabled_enabled.phpt | 28 <div> 30 </div> 32 <div> 34 </div> 57 <div> 61 <div> 63 </div> 84 <div> 88 <div> 90 </div> [all …]
|
H A D | pseudo_classes_current.phpt | 12 <div/> 16 test_helper($dom, ':current(div)'); 20 --- Selector: :current(div) --- 21 <div xmlns="http://www.w3.org/1999/xhtml"></div>
|
H A D | pseudo_classes_only_of_type.phpt | 12 <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>
|
/php-src/ext/dom/tests/ |
H A D | bug76285.phpt | 12 $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 D | DOMElement_id.phpt | 18 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 D | bug65196.phpt | 13 $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 D | gh11625.phpt | 11 <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 D | DOMNode_contains.phpt | 19 <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 D | gh11289.phpt | 12 <div></div> 20 $divs = iterator_to_array($dom->getElementsByTagName('div')->getIterator()); 21 foreach ($divs as $div) { 24 $div->replaceWith(...$fragment->childNodes);
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | Dom_Element_insertAdjacentHTML.phpt | 21 $dom = Dom\HTMLDocument::createFromString("<div></div>", LIBXML_NOERROR); 44 <html><head></head><body><p>foo</p><p>bar</p><div>Sample text</div></body></html> 50 <html><head></head><body><div><p>foo</p><p>bar</p>Sample text</div></body></html> 69 <html><head></head><body>text<div>Sample text</div></body></html> 75 <html><head></head><body><div>textSample text</div></body></html> 81 <html><head></head><body><div>Sample texttext</div></body></html> 87 <html><head></head><body><div>Sample text</div>text</body></html> 94 <html><head></head><body><div>Sample text</div></body></html> 100 <html><head></head><body><div>Sample text</div></body></html> 106 <html><head></head><body><div>Sample text</div></body></html> [all …]
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | Element_insertAdjacentHTML.phpt | 42 <root xmlns:x="urn:x"><x:x><y xmlns:x="urn:x2"/></x:x><nons/><div>Sample text</div></root> 47 <root xmlns:x="urn:x"><div><x:x><y xmlns:x="urn:x2"/></x:x><nons/>Sample text</div></root> 52 <root xmlns:x="urn:x"><div>Sample text<x:x><y xmlns:x="urn:x2"/></x:x><nons/></div></root> 63 <root xmlns:x="urn:x"><?pi node?><!-- comment -->&<div>Sample text</div></root> 68 <root xmlns:x="urn:x"><div><?pi node?><!-- comment -->&Sample text</div></root> 73 <root xmlns:x="urn:x"><div>Sample text<?pi node?><!-- comment -->&</div></root> 78 <root xmlns:x="urn:x"><div>Sample text</div><?pi node?><!-- comment -->&</root> 84 <root xmlns:x="urn:x">text node<div>Sample text</div></root> 89 <root xmlns:x="urn:x"><div>text nodeSample text</div></root> 94 <root xmlns:x="urn:x"><div>Sample texttext node</div></root> [all …]
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | div_mod_by_zero.phpt | 60 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-src/ext/dom/tests/modern/html/parser/ |
H A D | Element_innerHTML.phpt | 9 $el = $dom->createElement('div'); 13 $el->innerHTML = '</div>'; 17 $el->innerHTML = '<div></div> <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 D | HTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_error.phpt | 8 $dom = Dom\HTMLDocument::createFromString("<div>foo</div>", LIBXML_HTML_NOIMPLIED); 13 <div>foo</div>
|
/php-src/ext/dom/tests/modern/common/ |
H A D | template_participation.phpt | 12 <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 D | template_no_default_ns.phpt | 12 <template>a<div>foo</div>b</template> 23 string(16) "a<div>foo</div>b" 24 string(3) "div"
|
H A D | template_rename.phpt | 12 <template>a<div>foo</div>b</template> 32 string(16) "a<div>foo</div>b" 35 string(16) "a<div>foo</div>b"
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | Element_innerHTML.phpt | 8 …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-src/ext/pcre/tests/ |
H A D | preg_replace_callback.phpt | 13 $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-src/ext/tidy/tests/ |
H A D | sibling_nodes.phpt | 12 <div>first</div> 14 <div>third</div> 45 Previous: string(16) "<div>first</div>" 46 Next: string(16) "<div>third</div>"
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | element_order_same_depth.phpt | 12 <div> 13 <div> 16 </div> 17 </div> 18 <div> 19 <div> 22 </div> 23 </div>
|