diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java index 703d7f2849..5b5e50bf43 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java @@ -467,7 +467,6 @@ public void getInnerTextWhiteSpaceDivPreWrap() throws Exception { */ @Test @Alerts(DEFAULT = "A B C D\nEF\nG\nH\nI", - FF = "A B C D\nEFGH\nI", FF_ESR = "A B C D\nEFGH\nI") @HtmlUnitNYI(CHROME = "A B C D\nEF\nG\nH\n I", EDGE = "A B C D\nEF\nG\nH\n I", @@ -552,7 +551,6 @@ public void getInnerTextWhiteSpacePrePreWrap() throws Exception { */ @Test @Alerts(DEFAULT = "A B C D\nEF\nG\nH\nI", - FF = "A B C D\nEFGH\nI", FF_ESR = "A B C D\nEFGH\nI") @HtmlUnitNYI(CHROME = "A B C D\nEF\nG\nH\n I", EDGE = "A B C D\nEF\nG\nH\n I", @@ -1318,7 +1316,7 @@ public void getInnerTextWhiteSpaceOrderedListPreWrap() throws Exception { @Test @Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", - FF = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item", + FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item", FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item") @HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", @@ -1427,7 +1425,7 @@ public void getInnerTextWhiteSpaceUnorderedListPreWrap() throws Exception { @Test @Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI\n" + "\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", - FF = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item", + FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item", FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item") @HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java index 64bd4b7d91..e28883bbaa 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java @@ -800,8 +800,8 @@ private void getVisibleTextWhiteSpaceTitle(final String whiteSpace) throws Excep */ @Test @Alerts(DEFAULT = "A B C D EF G H I\nSecond", - CHROME = " A B C D EF G H I\n Second\n ", - EDGE = " A B C D EF G H I\n Second\n ") + CHROME = " A B C D EF G H\nI\n Second\n ", + EDGE = " A B C D EF G H\nI\n Second\n ") @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", EDGE = "A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelect() throws Exception { @@ -813,7 +813,11 @@ public void getVisibleTextWhiteSpaceSelect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("A B C D EF G H I\nSecond") + @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", + FF = "A B C D EF G H I\nSecond", + FF_ESR = "A B C D EF G H I\nSecond") + @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", + EDGE = "A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelectNormal() throws Exception { getVisibleTextWhiteSpaceSelect("normal"); } @@ -823,7 +827,11 @@ public void getVisibleTextWhiteSpaceSelectNormal() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("A B C D EF G H I\nSecond") + @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", + FF = "A B C D EF G H I\nSecond", + FF_ESR = "A B C D EF G H I\nSecond") + @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", + EDGE = "A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception { getVisibleTextWhiteSpaceSelect("nowrap"); } @@ -833,7 +841,7 @@ public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = " A B C D EF G H I\n Second\n ", + @Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ", FF = "A B C D EF G H I\nSecond", FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ", @@ -849,7 +857,7 @@ public void getVisibleTextWhiteSpaceSelectPre() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = " A B C D EF G H I\n Second\n ", + @Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ", FF = "A B C D EF G H I\nSecond", FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ", @@ -865,7 +873,9 @@ public void getVisibleTextWhiteSpaceSelectPreWrap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("A B C D EF G H I\nSecond") + @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", + FF = "A B C D EF G H I\nSecond", + FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = "A B C D \nEF\nG \n H I\n Second", EDGE = "A B C D \nEF\nG \n H I\n Second", FF = "A B C D \nEF\nG \n H I\n Second",