Skip to content

Commit c6a4c2b

Browse files
committed
Firefox 133
1 parent 5bbfba8 commit c6a4c2b

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,6 @@ public void getInnerTextWhiteSpaceDivPreWrap() throws Exception {
467467
*/
468468
@Test
469469
@Alerts(DEFAULT = "A B C D\nEF\nG\nH\nI",
470-
FF = "A B C D\nEFGH\nI",
471470
FF_ESR = "A B C D\nEFGH\nI")
472471
@HtmlUnitNYI(CHROME = "A B C D\nEF\nG\nH\n I",
473472
EDGE = "A B C D\nEF\nG\nH\n I",
@@ -552,7 +551,6 @@ public void getInnerTextWhiteSpacePrePreWrap() throws Exception {
552551
*/
553552
@Test
554553
@Alerts(DEFAULT = "A B C D\nEF\nG\nH\nI",
555-
FF = "A B C D\nEFGH\nI",
556554
FF_ESR = "A B C D\nEFGH\nI")
557555
@HtmlUnitNYI(CHROME = "A B C D\nEF\nG\nH\n I",
558556
EDGE = "A B C D\nEF\nG\nH\n I",
@@ -1318,7 +1316,7 @@ public void getInnerTextWhiteSpaceOrderedListPreWrap() throws Exception {
13181316
@Test
13191317
@Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI"
13201318
+ "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n",
1321-
FF = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item",
1319+
FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item",
13221320
FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item")
13231321
@HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I"
13241322
+ "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n",
@@ -1427,7 +1425,7 @@ public void getInnerTextWhiteSpaceUnorderedListPreWrap() throws Exception {
14271425
@Test
14281426
@Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI\n"
14291427
+ "\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n",
1430-
FF = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item",
1428+
FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item",
14311429
FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item")
14321430
@HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I"
14331431
+ "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n",

src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ private void getVisibleTextWhiteSpaceTitle(final String whiteSpace) throws Excep
800800
*/
801801
@Test
802802
@Alerts(DEFAULT = "A B C D EF G H I\nSecond",
803-
CHROME = " A B C D EF G H I\n Second\n ",
804-
EDGE = " A B C D EF G H I\n Second\n ")
803+
CHROME = " A B C D EF G H\nI\n Second\n ",
804+
EDGE = " A B C D EF G H\nI\n Second\n ")
805805
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
806806
EDGE = "A B C D EF G H I\nSecond")
807807
public void getVisibleTextWhiteSpaceSelect() throws Exception {
@@ -813,7 +813,11 @@ public void getVisibleTextWhiteSpaceSelect() throws Exception {
813813
* @throws Exception if the test fails
814814
*/
815815
@Test
816-
@Alerts("A B C D EF G H I\nSecond")
816+
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
817+
FF = "A B C D EF G H I\nSecond",
818+
FF_ESR = "A B C D EF G H I\nSecond")
819+
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
820+
EDGE = "A B C D EF G H I\nSecond")
817821
public void getVisibleTextWhiteSpaceSelectNormal() throws Exception {
818822
getVisibleTextWhiteSpaceSelect("normal");
819823
}
@@ -823,7 +827,11 @@ public void getVisibleTextWhiteSpaceSelectNormal() throws Exception {
823827
* @throws Exception if the test fails
824828
*/
825829
@Test
826-
@Alerts("A B C D EF G H I\nSecond")
830+
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
831+
FF = "A B C D EF G H I\nSecond",
832+
FF_ESR = "A B C D EF G H I\nSecond")
833+
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
834+
EDGE = "A B C D EF G H I\nSecond")
827835
public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception {
828836
getVisibleTextWhiteSpaceSelect("nowrap");
829837
}
@@ -833,7 +841,7 @@ public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception {
833841
* @throws Exception if the test fails
834842
*/
835843
@Test
836-
@Alerts(DEFAULT = " A B C D EF G H I\n Second\n ",
844+
@Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ",
837845
FF = "A B C D EF G H I\nSecond",
838846
FF_ESR = "A B C D EF G H I\nSecond")
839847
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ",
@@ -849,7 +857,7 @@ public void getVisibleTextWhiteSpaceSelectPre() throws Exception {
849857
* @throws Exception if the test fails
850858
*/
851859
@Test
852-
@Alerts(DEFAULT = " A B C D EF G H I\n Second\n ",
860+
@Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ",
853861
FF = "A B C D EF G H I\nSecond",
854862
FF_ESR = "A B C D EF G H I\nSecond")
855863
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ",
@@ -865,7 +873,9 @@ public void getVisibleTextWhiteSpaceSelectPreWrap() throws Exception {
865873
* @throws Exception if the test fails
866874
*/
867875
@Test
868-
@Alerts("A B C D EF G H I\nSecond")
876+
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
877+
FF = "A B C D EF G H I\nSecond",
878+
FF_ESR = "A B C D EF G H I\nSecond")
869879
@HtmlUnitNYI(CHROME = "A B C D \nEF\nG \n H I\n Second",
870880
EDGE = "A B C D \nEF\nG \n H I\n Second",
871881
FF = "A B C D \nEF\nG \n H I\n Second",

0 commit comments

Comments
 (0)