OLD | NEW |
(Empty) | |
| 1 This tests that Document implements the ParentNode interface. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS doc.children.length is 0 |
| 7 PASS doc.childElementCount is 0 |
| 8 PASS doc.firstElementChild is null |
| 9 PASS doc.lastElementChild is null |
| 10 PASS doc.children.length is 0 |
| 11 PASS doc.childElementCount is 0 |
| 12 PASS doc.firstElementChild is null |
| 13 PASS doc.lastElementChild is null |
| 14 PASS doc.children.length is 1 |
| 15 PASS doc.childElementCount is 1 |
| 16 PASS doc.children[0] is b |
| 17 PASS doc.firstElementChild is b |
| 18 PASS doc.lastElementChild is b |
| 19 PASS doc.children.length is 1 |
| 20 PASS doc.childElementCount is 1 |
| 21 PASS doc.children[0] is b |
| 22 PASS doc.firstElementChild is b |
| 23 PASS doc.lastElementChild is b |
| 24 PASS successfullyParsed is true |
| 25 |
| 26 TEST COMPLETE |
| 27 |
OLD | NEW |