Truly independent web browser
LibWeb: Insert a newline for insertLineBreak at preformatted elements
Andreas Kling29c367c3d67e
diff --git a/Libraries/LibWeb/Editing/Commands.cpp b/Libraries/LibWeb/Editing/Commands.cppindex db17bd14a9d..f6e91757bc3 100644--- a/Libraries/LibWeb/Editing/Commands.cpp+++ b/Libraries/LibWeb/Editing/Commands.cpp@@ -1459,6 +1459,20 @@ bool command_insert_linebreak_action(DOM::Document& document, Utf16View)MUST(selection.collapse(text, 1));return true;}++ // INTEROP: At an element boundary, insert the newline in a new Text node. If nothing follows it in its parent,+ // also insert a <br> after it, so that the new line is visible.+ if (is<DOM::Element>(*start_node)) {+ auto text = document.create_text_node("\n"_utf16);+ MUST(insert_node_into_range(range, text));+ MUST(selection.collapse(text->parent(), text->index() + 1));+ if (!text->next_sibling()) {+ auto br = MUST(DOM::create_element(document, HTML::TagNames::br, Namespace::HTML));+ MUST(insert_node_into_range(*active_range(document), br));+ MUST(selection.collapse(text->parent(), text->index() + 1));+ }+ return true;+ }}// 7. Let br be the result of calling createElement("br") on the context object.diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=enter.txtindex ed4dc82ea43..7716fec6c14 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=shift-enter.txtindex b55d97737a1..a98b14d7a67 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=enter.txtindex 43d3f311660..1c089466176 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=shift-enter.txtindex 519691409e8..95c634e5d96 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=enter.txtindex e0fc3c11a46..e4fc53e77a5 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=shift-enter.txtindex 98aad00d148..5e6fa6202d8 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=inline-block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=enter.txtindex 8d67a53c931..a659f88c462 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=shift-enter.txtindex 316ee4b5b51..a81471f89f9 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=list-item&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=enter.txtindex 4f0d5299778..cf609670c0c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=shift-enter.txtindex 3661e110f97..fc5c7d5afa2 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre&display=table-cell&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=enter.txtindex 6928881a2d2..8b2272aabb6 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=shift-enter.txtindex 0f488f95975..2899f795147 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=enter.txtindex bfeac224f47..9bff77bae46 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=shift-enter.txtindex a58ee4a77ec..c540dbd7598 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=enter.txtindex aa9651f7d24..7ad06bcb75b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=shift-enter.txtindex f08dfdd0454..289513c8eb7 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=inline-block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=enter.txtindex fd6e626306b..741b6cbfe1c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=shift-enter.txtindex 657526cf9c3..308ed388d68 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=list-item&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=enter.txtindex a4a03985817..85b066356b3 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=shift-enter.txtindex 356d2a0ea7d..6491fbb953d 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-line&display=table-cell&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-line">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=enter.txtindex 5310cad3a12..10fc9e27f3c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=shift-enter.txtindex 2bde6a85842..7257d5201de 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=enter.txtindex bae2744ad58..19c15dc497c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=shift-enter.txtindex cba78288442..6ad9d63fce4 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=enter.txtindex 1ad05c86139..9337e21f319 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=shift-enter.txtindex 66a9f7a8c8d..445208f1c71 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=inline-block&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:inline-block;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=enter.txtindex c9156f90b98..da61d33d378 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=shift-enter.txtindex 3c7c25c9e0c..8754ea41945 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=list-item&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:list-item;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=enter.txtindex 0468dcb482a..30de8e125ea 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=enter.txt@@ -2,26 +2,26 @@ Harness status: OKFound 22 tests-22 Fail-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)-Fail insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of file+22 Pass+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=p)+Pass insertParagraph in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=shift-enter.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=shift-enter.txtindex aad7128c9c9..42411e48d1a 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=shift-enter.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-in-inline-editing-host.tentative@white-space=pre-wrap&display=table-cell&method=shift-enter.txt@@ -2,24 +2,23 @@ Harness status: OKFound 22 tests-12 Pass-10 Fail-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)+22 Pass+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=div)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <br> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by a <div> element (defaultParagraphSeparator=div)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> followed by text (defaultParagraphSeparator=div)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)-Fail insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <br> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by a <div> (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}</span> followed by text (defaultParagraphSeparator=p)+Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">{}<br></span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">[]abcd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">ab[]cd</span> (defaultParagraphSeparator=p)Pass insertLineBreak in <span contenteditable style="display:table-cell;white-space:pre-wrap">abcd[]</span> (defaultParagraphSeparator=p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertParagraph.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertParagraph.txtindex ebafaeabd90..c9c1523a125 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertParagraph.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertParagraph.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-92 Pass-46 Fail+108 Pass+30 FailPass <div contenteditable style="white-space:pre; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre"><p>a[]bc</p></dPass <div contenteditable><p style="display:block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</p></Fail <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre"><p>a[]bc</p></dPass <div contenteditable><p style="display:block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</p></Fail <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertText.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertText.txtindex 8ac48ac4587..0add3c1ee1c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertText.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre&command=insertText.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-90 Pass-48 Fail+106 Pass+32 FailPass <div contenteditable style="white-space:pre; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre"><p>a[]bc</p></dPass <div contenteditable><p style="display:block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</p></Fail <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre"><p>a[]bc</p></dPass <div contenteditable><p style="display:block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</p></Fail <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertParagraph.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertParagraph.txtindex 1c8136501fb..0e027db0252 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertParagraph.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertParagraph.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-92 Pass-46 Fail+108 Pass+30 FailPass <div contenteditable style="white-space:pre-line; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre-line"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre-line"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertText.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertText.txtindex 521dba79eb3..2f79afc2abb 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertText.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-line&command=insertText.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-90 Pass-48 Fail+106 Pass+32 FailPass <div contenteditable style="white-space:pre-line; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre-line"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre-line"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-line; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-line; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-line; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-line; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertParagraph.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertParagraph.txtindex 7ca66687d55..3a2eefe2193 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertParagraph.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertParagraph.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-92 Pass-46 Fail+108 Pass+30 FailPass <div contenteditable style="white-space:pre-wrap; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre-wrap"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre-wrap"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertText.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertText.txtindex 1d24a873938..3177f9607a5 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertText.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=pre-wrap&command=insertText.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-90 Pass-48 Fail+106 Pass+32 FailPass <div contenteditable style="white-space:pre-wrap; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -27,11 +27,11 @@ Pass <div contenteditable style="display:block; white-space:pre-wrap"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -50,11 +50,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: div) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)@@ -96,11 +96,11 @@ Pass <div contenteditable style="display:block; white-space:pre-wrap"><p>a[]bc</Pass <div contenteditable><p style="display:block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable><p style="display:block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-wrap; display:inline">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)@@ -119,11 +119,11 @@ Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc<Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)Fail <div contenteditable style="white-space:pre-wrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p) (preserving temporary inline style test)-Fail <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)+Pass <div contenteditable style="white-space:pre-wrap; display:inline-block"><b>abc[]</b></div> (defaultParagraphSeparator: p) (preserving inline style test)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><div style="white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)