/html/dom/elements/the-innertext-and-outertext-properties/outertext-setter.html| status | subtest | message |
|---|---|---|
| FAIL | Replacing a node and merging with the previous text node | assert_equals: It got merged with the previous text node expected 1 but got 2 |
| FAIL | Replacing a node and merging with the following text node | assert_equals: It got merged with the following text node expected 1 but got 2 |
| FAIL | Replacing a node and merging with the previous and following text node | assert_equals: It got merged with the previous and following text node expected 1 but got 3 |
| FAIL | Only merges with the previous and following text nodes, does not completely normalize | assert_equals: It got merged with the previous and following text node expected 3 but got 5 |
| PASS | Empty string | |
| FAIL | Empty string with surrounding text nodes | assert_equals: It got merged with the previous and following text node expected 3 but got 5 |
| FAIL | Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes | assert_equals: expected "<br><br><br>" but got "\n\r\n\r" |
| PASS | Removing a node | |
| FAIL | Detached node | assert_throws_dom: function "() => { node.outerText = ""; }" did not throw |
| PASS | Simplest possible test | |
| FAIL | Newlines convert to <br> in non-white-space:pre elements | assert_equals: expected "abc<br>def" but got "abc\ndef" |
| FAIL | Newlines convert to <br> in <pre> element | assert_equals: expected "abc<br>def" but got "abc\ndef" |
| FAIL | Newlines convert to <br> in <textarea> element | assert_equals: expected "abc<br>def" but got "abc\ndef" |
| FAIL | Newlines convert to <br> in white-space:pre element | assert_equals: expected "abc<br>def" but got "abc\ndef" |
| FAIL | CRs convert to <br> in non-white-space:pre elements | assert_equals: expected "abc<br>def" but got "abc\rdef" |
| FAIL | CRs convert to <br> in <pre> element | assert_equals: expected "abc<br>def" but got "abc\rdef" |
| FAIL | Newline/CR pair converts to <br> in non-white-space:pre element | assert_equals: expected "abc<br>def" but got "abc\r\ndef" |
| FAIL | Newline/newline pair converts to two <br>s in non-white-space:pre element | assert_equals: expected "abc<br><br>def" but got "abc\n\ndef" |
| FAIL | CR/CR pair converts to two <br>s in non-white-space:pre element | assert_equals: expected "abc<br><br>def" but got "abc\r\rdef" |
| FAIL | CRs convert to <br> in white-space:pre element | assert_equals: expected "abc<br>def" but got "abc\rdef" |
| PASS | < preserved | |
| PASS | > preserved | |
| PASS | & preserved | |
| PASS | " preserved | |
| PASS | ' preserved | |
| FAIL | outerText not supported on SVG elements | assert_equals: expected "<svg></svg>" but got "abc" |
| FAIL | outerText not supported on MathML elements | assert_equals: expected "<math></math>" but got "abc" |
| PASS | Null characters preserved | |
| PASS | Tabs preserved | |
| PASS | Leading whitespace preserved | |
| PASS | Trailing whitespace preserved | |
| PASS | Whitespace not compressed | |
| PASS | Existing text deleted | |
| PASS | Existing <br> deleted | |
| PASS | Assigning the empty string | |
| PASS | Assigning null | |
| FAIL | Assigning undefined | assert_equals: expected "undefined" but got "" |
| FAIL | Start with CR | assert_equals: expected "<br>abc" but got "\rabc" |
| FAIL | Start with LF | assert_equals: expected "<br>abc" but got "\nabc" |
| FAIL | Start with CRLF | assert_equals: expected "<br>abc" but got "\r\nabc" |
| FAIL | End with CR | assert_equals: expected "abc<br>" but got "abc\r" |
| FAIL | End with LF | assert_equals: expected "abc<br>" but got "abc\n" |
| FAIL | End with CRLF | assert_equals: expected "abc<br>" but got "abc\r\n" |
bundle built 2026-07-16T07:16:48.063Z