mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibWeb: Implement HTMLElement.innerText setter
(cherry picked from commit 653c8f231d852071ad2c5f79985775e96f2c5167)
This commit is contained in:
1 parent
d0cbdd8a90
commit
b0cdfd0132
3 files changed
+91
-47
No files matched your search
+42
-43
@@ -6,49 +6,48 @@ Rerun
|
||||
|
||||
Found 43 tests
|
||||
|
||||
2 Pass
|
||||
41 Fail
|
||||
43 Pass
|
||||
Details
|
||||
Result Test Name MessageFail Replacing a node and merging with the previous text node
|
||||
Fail Replacing a node and merging with the following text node
|
||||
Fail Replacing a node and merging with the previous and following text node
|
||||
Fail Only merges with the previous and following text nodes, does not completely normalize
|
||||
Fail Empty string
|
||||
Fail Empty string with surrounding text nodes
|
||||
Fail Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
|
||||
Fail Removing a node
|
||||
Fail Detached node
|
||||
Fail Simplest possible test
|
||||
Fail Newlines convert to <br> in non-white-space:pre elements
|
||||
Fail Newlines convert to <br> in <pre> element
|
||||
Fail Newlines convert to <br> in <textarea> element
|
||||
Fail Newlines convert to <br> in white-space:pre element
|
||||
Fail CRs convert to <br> in non-white-space:pre elements
|
||||
Fail CRs convert to <br> in <pre> element
|
||||
Fail Newline/CR pair converts to <br> in non-white-space:pre element
|
||||
Fail Newline/newline pair converts to two <br>s in non-white-space:pre element
|
||||
Fail CR/CR pair converts to two <br>s in non-white-space:pre element
|
||||
Fail CRs convert to <br> in white-space:pre element
|
||||
Fail < preserved
|
||||
Fail > preserved
|
||||
Fail & preserved
|
||||
Fail " preserved
|
||||
Fail ' preserved
|
||||
Result Test Name MessagePass Replacing a node and merging with the previous text node
|
||||
Pass Replacing a node and merging with the following text node
|
||||
Pass Replacing a node and merging with the previous and following text node
|
||||
Pass Only merges with the previous and following text nodes, does not completely normalize
|
||||
Pass Empty string
|
||||
Pass Empty string with surrounding text nodes
|
||||
Pass Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
|
||||
Pass Removing a node
|
||||
Pass Detached node
|
||||
Pass Simplest possible test
|
||||
Pass Newlines convert to <br> in non-white-space:pre elements
|
||||
Pass Newlines convert to <br> in <pre> element
|
||||
Pass Newlines convert to <br> in <textarea> element
|
||||
Pass Newlines convert to <br> in white-space:pre element
|
||||
Pass CRs convert to <br> in non-white-space:pre elements
|
||||
Pass CRs convert to <br> in <pre> element
|
||||
Pass Newline/CR pair converts to <br> in non-white-space:pre element
|
||||
Pass Newline/newline pair converts to two <br>s in non-white-space:pre element
|
||||
Pass CR/CR pair converts to two <br>s in non-white-space:pre element
|
||||
Pass CRs convert to <br> in white-space:pre element
|
||||
Pass < preserved
|
||||
Pass > preserved
|
||||
Pass & preserved
|
||||
Pass " preserved
|
||||
Pass ' preserved
|
||||
Pass outerText not supported on SVG elements
|
||||
Pass outerText not supported on MathML elements
|
||||
Fail Null characters preserved
|
||||
Fail Tabs preserved
|
||||
Fail Leading whitespace preserved
|
||||
Fail Trailing whitespace preserved
|
||||
Fail Whitespace not compressed
|
||||
Fail Existing text deleted
|
||||
Fail Existing <br> deleted
|
||||
Fail Assigning the empty string
|
||||
Fail Assigning null
|
||||
Fail Assigning undefined
|
||||
Fail Start with CR
|
||||
Fail Start with LF
|
||||
Fail Start with CRLF
|
||||
Fail End with CR
|
||||
Fail End with LF
|
||||
Fail End with CRLF
|
||||
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
|
||||
Pass Assigning undefined
|
||||
Pass Start with CR
|
||||
Pass Start with LF
|
||||
Pass Start with CRLF
|
||||
Pass End with CR
|
||||
Pass End with LF
|
||||
Pass End with CRLF
|
||||
Reference in new issue
Block a user