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