Truly independent web browser
LibWeb: Wrap split inline-level containers in insertParagraph
Andreas Klinga541c42a91d4
diff --git a/Libraries/LibWeb/Editing/Commands.cpp b/Libraries/LibWeb/Editing/Commands.cppindex 16a36609d85..26e51c319fc 100644--- a/Libraries/LibWeb/Editing/Commands.cpp+++ b/Libraries/LibWeb/Editing/Commands.cpp@@ -1885,6 +1885,16 @@ bool command_insert_paragraph_action(DOM::Document& document, Utf16View)for (auto node_to_move : nodes_to_move)MUST(append_node(node_to_move, *new_container));+ // INTEROP: Splitting an inline-level container does not start a new line. Browsers wrap the new container, and+ // sometimes also container, in a new div in this case. Do this for both of them.+ if (auto display = resolved_display(*container); display.has_value() && display->is_inline_outside()) {+ for (GC::Ref<DOM::Node> node : { GC::Ref<DOM::Node> { *container }, GC::Ref<DOM::Node> { *new_container } }) {+ auto wrapper = MUST(DOM::create_element(document, HTML::TagNames::div, Namespace::HTML));+ insert_node_before(wrapper, *node->parent(), node);+ MUST(append_node(node, wrapper));+ }+ }+// 30. While container's lastChild is a prohibited paragraph child, set container to its lastChild.while (container->last_child() && is_prohibited_paragraph_child(*container->last_child()))container = container->last_child();diff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertParagraph.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertParagraph.txtindex 3f222f2d9af..27fda67fb34 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertParagraph.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertParagraph.txt@@ -2,8 +2,7 @@ Harness status: OKFound 138 tests-114 Pass-24 Fail+138 PassPass <div contenteditable style="white-space:nowrap; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -38,18 +37,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:nowrap"Pass <div contenteditable style="display:inline; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)@@ -61,18 +60,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:nPass <div contenteditable style="display:inline-block; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +106,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:nowrap"Pass <div contenteditable style="display:inline; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)@@ -130,15 +129,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:nPass <div contenteditable style="display:inline-block; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertText.txt b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertText.txtindex d6067347868..30c4172a629 100644--- a/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertText.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/editing/other/insertparagraph-with-white-space-style.tentative@white-space=nowrap&command=insertText.txt@@ -2,8 +2,8 @@ Harness status: OKFound 138 tests-108 Pass-30 Fail+132 Pass+6 FailPass <div contenteditable style="white-space:nowrap; display:block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">a[]bc</div> (defaultParagraphSeparator: div)@@ -38,18 +38,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:nowrap"Pass <div contenteditable style="display:inline; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: div)@@ -61,18 +61,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:nPass <div contenteditable style="display:inline-block; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:nowrap; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +107,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:nowrap"Pass <div contenteditable style="display:inline; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:nowrap; display:inline-block">a[]bc</div> (defaultParagraphSeparator: p)@@ -130,15 +130,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:nPass <div contenteditable style="display:inline-block; white-space:nowrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:nowrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:nowrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:nowrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 9845ff2d7a4..3b117af405d 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,7 @@ Harness status: OKFound 138 tests-114 Pass-24 Fail+138 PassPass <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)@@ -38,18 +37,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[Pass <div contenteditable style="display:inline; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></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)@@ -61,18 +60,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +106,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[Pass <div contenteditable style="display:inline; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></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)@@ -130,15 +129,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 bff0bffd9d3..d79452ecefa 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-108 Pass-30 Fail+132 Pass+6 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)@@ -38,18 +38,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[Pass <div contenteditable style="display:inline; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></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)@@ -61,18 +61,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +107,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre">a[Pass <div contenteditable style="display:inline; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre">a[]bc</p></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)@@ -130,15 +130,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 182debbd3e8..96950976aa9 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,7 @@ Harness status: OKFound 138 tests-114 Pass-24 Fail+138 PassPass <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)@@ -38,18 +37,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-linPass <div contenteditable style="display:inline; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></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)@@ -61,18 +60,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-line; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-line; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +106,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-linPass <div contenteditable style="display:inline; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></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)@@ -130,15 +129,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 e545d1640bb..46f644a1c50 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-108 Pass-30 Fail+132 Pass+6 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)@@ -38,18 +38,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-linPass <div contenteditable style="display:inline; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></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)@@ -61,18 +61,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-line; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-line; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-line; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +107,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-linPass <div contenteditable style="display:inline; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-line"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-line">a[]bc</p></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)@@ -130,15 +130,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-line"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-line">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-line"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-line">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 ede724da156..77c1a5636bb 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,7 @@ Harness status: OKFound 138 tests-114 Pass-24 Fail+138 PassPass <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)@@ -38,18 +37,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-wraPass <div contenteditable style="display:inline; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></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)@@ -61,18 +60,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-wrap; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-wrap; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +106,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-wraPass <div contenteditable style="display:inline; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></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)@@ -130,15 +129,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of filediff --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 3d9508bee9e..28d31f8a5ec 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-108 Pass-30 Fail+132 Pass+6 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)@@ -38,18 +38,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-wraPass <div contenteditable style="display:inline; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></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)@@ -61,18 +61,18 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>a[]bc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: div)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: div)Pass <div contenteditable style="white-space:pre-wrap; display:block">abc[]</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-wrap; display:block">[]abc</div> (defaultParagraphSeparator: p)Pass <div contenteditable style="white-space:pre-wrap; display:block">a[]bc</div> (defaultParagraphSeparator: p)@@ -107,18 +107,18 @@ Pass <div contenteditable style="display:inline"><div style="white-space:pre-wraPass <div contenteditable style="display:inline; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline; white-space:pre-wrap"><p>a[]bc</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">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline; white-space:pre-wrap">a[]bc</p></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)@@ -130,15 +130,15 @@ Pass <div contenteditable style="display:inline-block"><div style="white-space:pPass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>abc[]</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>[]abc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><div>a[]bc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">abc[]</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">[]abc</div></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><div style="display:inline-block; white-space:pre-wrap">a[]bc</div></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block"><p style="white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>abc[]</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>[]abc</p></div> (defaultParagraphSeparator: p)Pass <div contenteditable style="display:inline-block; white-space:pre-wrap"><p>a[]bc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)-Fail <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">abc[]</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">[]abc</p></div> (defaultParagraphSeparator: p)+Pass <div contenteditable><p style="display:inline-block; white-space:pre-wrap">a[]bc</p></div> (defaultParagraphSeparator: p)\ No newline at end of file