blob: e71a9b57ff205d662a7519ea949c59676139f1fb [file] [log] [blame]
Tests that setting document.title does not reuse title's text node child
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS svgDocument.title is "aaa"
PASS oldTextNode.textContent is "aaa"
svgDocument.title = 'bbb'
PASS oldTextNode.textContent is "aaa"
PASS oldTextNode is not newTextNode
PASS svgDocument.title is "bbb"
PASS newTextNode.textContent is "bbb"
PASS successfullyParsed is true
TEST COMPLETE