blob: b1028dd3b9231b368fbc3cdbaf57174eddcf3ad9 [file] [log] [blame]
This tests that node lists returned by getElementsByTagNameNS are invalidated upon child node changes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS appendImageWithId('firstImage'); nodeList = container.getElementsByTagNameNS(namespace, 'img'); nodeList.item(0).id is 'firstImage'
PASS nodeList.length is 1
PASS appendImageWithId('secondImage'); container.removeChild(container.firstChild); nodeList.item(0).id is 'secondImage'
PASS nodeList.length is 1
PASS successfullyParsed is true
TEST COMPLETE