OLD | NEW |
1 Test that template contents are not cloned when the template element is cloned | 1 Test that template contents are not cloned when the template element is cloned |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS template.content.childNodes.length is 1 | 6 PASS template.content.childNodes.length is 1 |
7 PASS clone.content.childNodes.length is 1 | 7 PASS clone.content.childNodes.length is 1 |
8 PASS clone.outerHTML is template.outerHTML | 8 PASS clone.outerHTML is template.outerHTML |
9 PASS clone.content.firstChild is not template.content.firstChild | 9 PASS clone.content.firstChild is not template.content.firstChild |
10 PASS clone.content is not template.content | 10 PASS clone.content is not template.content |
11 PASS clone.firstChild.tagName is "DIV" | 11 PASS clone.firstChild.tagName is "DIV" |
12 PASS clone.firstChild is not div | 12 PASS clone.firstChild is not div |
| 13 PASS successfullyParsed is true |
13 | 14 |
| 15 TEST COMPLETE |
| 16 |
OLD | NEW |