outertext-setter.html

PASSExpected43 of 43 subtests pass782 ms

Details

Test
/html/dom/elements/the-innertext-and-outertext-properties/outertext-setter.html
Harness
OK

Subtests

StatusSubtestMessage
PASSReplacing a node and merging with the previous text node
PASSReplacing a node and merging with the following text node
PASSReplacing a node and merging with the previous and following text node
PASSOnly merges with the previous and following text nodes, does not completely normalize
PASSEmpty string
PASSEmpty string with surrounding text nodes
PASSSetting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
PASSRemoving a node
PASSDetached node
PASSSimplest possible test
PASSNewlines convert to <br> in non-white-space:pre elements
PASSNewlines convert to <br> in <pre> element
PASSNewlines convert to <br> in <textarea> element
PASSNewlines convert to <br> in white-space:pre element
PASSCRs convert to <br> in non-white-space:pre elements
PASSCRs convert to <br> in <pre> element
PASSNewline/CR pair converts to <br> in non-white-space:pre element
PASSNewline/newline pair converts to two <br>s in non-white-space:pre element
PASSCR/CR pair converts to two <br>s in non-white-space:pre element
PASSCRs convert to <br> in white-space:pre element
PASS< preserved
PASS> preserved
PASS& preserved
PASS" preserved
PASS' preserved
PASSouterText not supported on SVG elements
PASSouterText not supported on MathML elements
PASSNull characters preserved
PASSTabs preserved
PASSLeading whitespace preserved
PASSTrailing whitespace preserved
PASSWhitespace not compressed
PASSExisting text deleted
PASSExisting <br> deleted
PASSAssigning the empty string
PASSAssigning null
PASSAssigning undefined
PASSStart with CR
PASSStart with LF
PASSStart with CRLF
PASSEnd with CR
PASSEnd with LF
PASSEnd with CRLF