OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>Node.appendChild applied to CharacterData</title> | 3 <title>Node.appendChild applied to CharacterData</title> |
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild"> | 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild"> |
5 <link rel=help href="https://dom.spec.whatwg.org/#introduction-to-the-dom"> | 5 <link rel=help href="https://dom.spec.whatwg.org/#introduction-to-the-dom"> |
6 <script src="../../../../resources/testharness.js"></script> | 6 <script src="../../../../resources/testharness.js"></script> |
7 <script src="../../../../resources/testharnessreport.js"></script> | 7 <script src="../../../../resources/testharnessreport.js"></script> |
8 <div id="log"></div> | 8 <div id="log"></div> |
9 <script> | 9 <script> |
10 function create(type) { | 10 function create(type) { |
(...skipping 14 matching lines...) Expand all Loading... |
25 }, type1 + ".appendChild(" + type2 + ")"); | 25 }, type1 + ".appendChild(" + type2 + ")"); |
26 } | 26 } |
27 | 27 |
28 var types = ["Text", "Comment", "ProcessingInstruction"]; | 28 var types = ["Text", "Comment", "ProcessingInstruction"]; |
29 types.forEach(function(type1) { | 29 types.forEach(function(type1) { |
30 types.forEach(function(type2) { | 30 types.forEach(function(type2) { |
31 testNode(type1, type2); | 31 testNode(type1, type2); |
32 }); | 32 }); |
33 }); | 33 }); |
34 </script> | 34 </script> |
OLD | NEW |