OLD | NEW |
1 This tests that node lists returned by getElementsByTagNameNS are invalidated up
on child node changes. | 1 This tests that node lists returned by getElementsByTagNameNS are invalidated up
on child node changes. |
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 appendImageWithId('firstImage'); nodeList = container.getElementsByTagNameN
S(namespace, 'img'); nodeList.item(0).id is 'firstImage' | 6 PASS appendImageWithId('firstImage'); nodeList = container.getElementsByTagNameN
S(namespace, 'img'); nodeList.item(0).id is 'firstImage' |
7 PASS nodeList.length is 1 | 7 PASS nodeList.length is 1 |
8 PASS appendImageWithId('secondImage'); container.removeChild(container.firstChil
d); nodeList.item(0).id is 'secondImage' | 8 PASS appendImageWithId('secondImage'); container.removeChild(container.firstChil
d); nodeList.item(0).id is 'secondImage' |
9 PASS nodeList.length is 1 | 9 PASS nodeList.length is 1 |
10 | 10 |
OLD | NEW |