14 lines
567 B
Plaintext
14 lines
567 B
Plaintext
|
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
|
||
|
|