Home
last modified time | relevance | path

Searched refs:createElement (Results 1 – 25 of 184) sorted by relevance

12345678

/PHP-8.4/ext/dom/tests/
H A DDOMNode_replaceChild_error1.phpt8 $real_parent = $document->createElement('real');
9 $parent = $document->createElement('p');
10 $child1 = $document->createElement('child1');
11 $child2 = $document->createElement('child2');
12 $child3 = $document->createElement('child3');
H A DDOMElement_insertAdjacentElement.phpt15 var_dump($dom->createElement('free')->insertAdjacentElement("beforebegin", $dom->createElement('ele…
16 var_dump($dom->createElement('free')->insertAdjacentElement("afterend", $dom->createElement('elemen…
19 …var_dump($dom->createElement('free')->insertAdjacentElement("bogus", $dom->createElement('element'…
26 $element = $dom->createElement('free');
27 $child = $element->appendChild($dom->createElement('child'));
41 … var_dump($p->insertAdjacentElement($transform("beforebegin"), $dom->createElement('A'))->tagName);
44 … var_dump($p->insertAdjacentElement($transform("afterbegin"), $dom->createElement('B'))->tagName);
47 var_dump($p->insertAdjacentElement($transform("beforeend"), $dom->createElement('C'))->tagName);
50 var_dump($p->insertAdjacentElement($transform("afterend"), $dom->createElement('D'))->tagName);
62 $empty = $dom->createElement('empty');
[all …]
H A DDOMNode_removeChild_error1.phpt8 $real_parent = $document->createElement('real');
9 $parent = $document->createElement('p');
10 $child1 = $document->createElement('child1');
11 $child2 = $document->createElement('child2');
H A Dbug65196.phpt13 $div = $dom->createElement('div');
14 $div->appendChild($dom->createElement('span'));
16 $frag2->appendChild($dom->createElement('div'));
17 $frag2->appendChild($dom->createElement('div'));
H A Dbug81642.phpt10 $doc->appendChild($target = $doc->createElement('test'));
16 $doc->appendChild($target = $doc->createElement('test'));
17 $target->replaceWith($target, $doc->createElement('foo'));
22 $doc->appendChild($target = $doc->createElement('test'));
28 $doc->appendChild($target = $doc->createElement('test'));
H A DDOMNode_replaceChild_error2.phpt8 $a = $document->createElement('a');
9 $b = $document->createElement('b');
10 $c = $document->createElement('c');
H A Dfragments_multiple_nodes_DOMParentNode.phpt14 $fragment->appendChild($dom->createElement('p', '1'));
15 $fragment->appendChild($dom->createElement('b', '2'));
23 $fragment->appendChild($dom->createElement('p', '3'));
24 $fragment->appendChild($dom->createElement('b', '4'));
H A Dgh11682.phpt12 $dom->createElement('foo1'),
13 $dom->createElement('foo2'),
14 $dom->createElement('foo3')
H A DDOMDocument_saveHTML_variant1.phpt8 $root = $doc->createElement('html');
10 $head = $doc->createElement('head');
12 $title = $doc->createElement('title');
H A DDOMDocument_saveHTML_basic.phpt11 $root = $doc->createElement('html');
13 $head = $doc->createElement('head');
15 $title = $doc->createElement('title');
H A DDOMNode_normalize_advanced.phpt9 $root = $dom->appendChild($dom->createElement("root"));
10 $child1 = $root->appendChild($dom->createElement("child1"));
11 $child2 = $root->appendChild($dom->createElement("child2"));
H A DDOMDocument_saveHTMLFile_invalid_filename.phpt12 $root = $doc->createElement('html');
14 $head = $doc->createElement('head');
16 $title = $doc->createElement('title');
H A DDOMElement_replaceChildren.phpt27 $dom->documentElement->replaceChildren('foo', $dom->createElement('p'), 'bar');
31 $fragment1->appendChild($dom->createElement('a'));
32 $fragment1->appendChild($dom->createElement('b'));
45 $old = $fragment->appendChild($dom->createElement('p', 'test'));
46 $fragment->replaceChildren($dom->createElement('b', 'test'));
H A DDOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt17 $root = $doc->createElement('html');
19 $head = $doc->createElement('head');
21 $title = $doc->createElement('title');
H A DDOMDocument_saveHTML_basic_gte_2_13.phpt16 $root = $doc->createElement('html');
18 $head = $doc->createElement('head');
20 $title = $doc->createElement('title');
H A Ddom006.phpt10 $titleElement = $this->createElement("title");
12 $authorElement = $this->createElement("author");
15 $bookElement = $this->createElement("book");
/PHP-8.4/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_fragment.phpt10 $fragment->appendChild($dom->createElement("foo"));
11 $bar = $fragment->appendChild($dom->createElement("bar"));
12 $fragment->appendChild($dom->createElement("baz"));
13 $bar->appendChild($dom->createElement("inner"));
/PHP-8.4/ext/dom/tests/modern/spec/
H A DDocument_createElement.phpt2 Document::createElement()
13 $element = $dom->createElement("HTML");
17 $element = $dom->createElement("HEad");
23 $element = $dom->createElement("HTML");
26 $element = $dom->createElement("HEad");
34 $element = $dom->createElement("HEad");
H A DDocument_createElement_edge_cases.phpt2 Document::createElement() edge cases
10 $dom->createElement('');
15 $dom->createElement('$');
H A DNode_appendChild_invalid_parent.phpt16 $text->appendChild($dom->createElement('br'));
22 $cdata->appendChild($dom->createElement('br'));
28 $pi->appendChild($dom->createElement('br'));
34 $attr->appendChild($dom->createElement('br'));
H A DNode_replaceChild_edge_cases.phpt10 $parent = $dom->createElement("parent");
11 $child = $dom->createElement("child");
19 $comment->replaceChild($comment, $dom->createElement("old-child"));
41 $parent->replaceChild($dom->createElement("new-child"), $dom->createElement("old-child"));
74 $fragment->appendChild($dom->createElement("new-child1"));
75 $fragment->appendChild($dom->createElement("new-child2"));
87 $dom->replaceChild($dom->createElement("new-child"), $comment);
95 $dom->replaceChild($dom->createElement("new-child"), $dom->doctype);
116 $fragment->appendChild($dom->createElement("new-child"));
/PHP-8.4/ext/dom/tests/modern/xml/
H A DXMLDocument_saveXML_node.phpt9 $root = $dom->appendChild($dom->createElement("root"));
10 $child1 = $root->appendChild($dom->createElement("child1"));
11 $child2 = $root->appendChild($dom->createElement("child2"));
/PHP-8.4/ext/dom/tests/delayed_freeing/
H A Delement_uaf_crash.phpt8 $d = $xml->createElement("div");
9 $d->appendChild($b = $xml->createElement("b"));
10 $ret = $d->appendChild($xml->createElement("xxx"));
/PHP-8.4/ext/dom/tests/bug79701/
H A Dprepend.phpt8 $root = $dom->createElement('html');
11 $el1 = $dom->createElement('p1');
17 $el2 = $dom->createElement('p2');
/PHP-8.4/ext/dom/tests/modern/common/
H A DElement_insertAdjacentElement.phpt12 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeBegin, $dom->createElement('A'))->ta…
15 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterBegin, $dom->createElement('B'))->tag…
18 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeEnd, $dom->createElement('C'))->tagN…
21 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterEnd, $dom->createElement('D'))->tagNa…

Completed in 38 milliseconds

12345678