blob: 7d8389ec221d7f846a0c0cde997fa3e4865b4898 [file] [log] [blame]
Tests some special cases of the outerHTML setter.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById('svgElement').innerHTML is "<g></g>"
PASS document.documentElement.outerHTML = '' threw exception NoModificationAllowedError: Cannot set outerHTML on element because its parent is not an Element.
PASS a.parentNode is null
PASS a.outerHTML = '' threw exception NoModificationAllowedError: Cannot set outerHTML on element because it doesn't have a parent.
PASS successfullyParsed is true
TEST COMPLETE