Skip to content

Commit a95a32e

Browse files
committed
FF 153
1 parent 7107a52 commit a95a32e

2 files changed

Lines changed: 22 additions & 26 deletions

File tree

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

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -797,10 +797,11 @@ private void getVisibleTextWhiteSpaceTitle(final String whiteSpace) throws Excep
797797
*/
798798
@Test
799799
@Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ",
800-
FF = "A B C D EF G H I\nSecond",
800+
FF = "A B C D EF G H\nI\nSecond",
801801
FF_ESR = "A B C D EF G H I\nSecond")
802-
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
803-
EDGE = "A B C D EF G H I\nSecond")
802+
@HtmlUnitNYI(CHROME = "A B C D EF G H\nI\nSecond",
803+
EDGE = "A B C D EF G H\nI\nSecond",
804+
FF_ESR = "A B C D EF G H\nI\nSecond")
804805
public void getVisibleTextWhiteSpaceSelect() throws Exception {
805806
getVisibleTextWhiteSpaceSelect(null);
806807
}
@@ -811,10 +812,8 @@ public void getVisibleTextWhiteSpaceSelect() throws Exception {
811812
*/
812813
@Test
813814
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
814-
FF = "A B C D EF G H I\nSecond",
815815
FF_ESR = "A B C D EF G H I\nSecond")
816-
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
817-
EDGE = "A B C D EF G H I\nSecond")
816+
@HtmlUnitNYI(FF_ESR = "A B C D EF G H\nI\nSecond")
818817
public void getVisibleTextWhiteSpaceSelectNormal() throws Exception {
819818
getVisibleTextWhiteSpaceSelect("normal");
820819
}
@@ -825,10 +824,8 @@ public void getVisibleTextWhiteSpaceSelectNormal() throws Exception {
825824
*/
826825
@Test
827826
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
828-
FF = "A B C D EF G H I\nSecond",
829827
FF_ESR = "A B C D EF G H I\nSecond")
830-
@HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond",
831-
EDGE = "A B C D EF G H I\nSecond")
828+
@HtmlUnitNYI(FF_ESR = "A B C D EF G H\nI\nSecond")
832829
public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception {
833830
getVisibleTextWhiteSpaceSelect("nowrap");
834831
}
@@ -839,12 +836,12 @@ public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception {
839836
*/
840837
@Test
841838
@Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ",
842-
FF = "A B C D EF G H I\nSecond",
839+
FF = "A B C D EF G H\nI\nSecond",
843840
FF_ESR = "A B C D EF G H I\nSecond")
844-
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ",
845-
EDGE = " A B C D \nEF\nG \n H I \n Second\n ",
846-
FF = " A B C D \nEF\nG \n H I \n Second\n ",
847-
FF_ESR = " A B C D \nEF\nG \n H I \n Second\n ")
841+
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H \n I \n Second\n ",
842+
EDGE = " A B C D \nEF\nG \n H \n I \n Second\n ",
843+
FF = " A B C D \nEF\nG \n H \n I \n Second\n ",
844+
FF_ESR = " A B C D \nEF\nG \n H \n I \n Second\n ")
848845
public void getVisibleTextWhiteSpaceSelectPre() throws Exception {
849846
getVisibleTextWhiteSpaceSelect("pre");
850847
}
@@ -855,12 +852,12 @@ public void getVisibleTextWhiteSpaceSelectPre() throws Exception {
855852
*/
856853
@Test
857854
@Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ",
858-
FF = "A B C D EF G H I\nSecond",
855+
FF = "A B C D EF G H\nI\nSecond",
859856
FF_ESR = "A B C D EF G H I\nSecond")
860-
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ",
861-
EDGE = " A B C D \nEF\nG \n H I \n Second\n ",
862-
FF = " A B C D \nEF\nG \n H I \n Second\n ",
863-
FF_ESR = " A B C D \nEF\nG \n H I \n Second\n ")
857+
@HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H \n I \n Second\n ",
858+
EDGE = " A B C D \nEF\nG \n H \n I \n Second\n ",
859+
FF = " A B C D \nEF\nG \n H \n I \n Second\n ",
860+
FF_ESR = " A B C D \nEF\nG \n H \n I \n Second\n ")
864861
public void getVisibleTextWhiteSpaceSelectPreWrap() throws Exception {
865862
getVisibleTextWhiteSpaceSelect("pre-wrap");
866863
}
@@ -871,12 +868,11 @@ public void getVisibleTextWhiteSpaceSelectPreWrap() throws Exception {
871868
*/
872869
@Test
873870
@Alerts(DEFAULT = "A B C D EF G H\nI\nSecond",
874-
FF = "A B C D EF G H I\nSecond",
875871
FF_ESR = "A B C D EF G H I\nSecond")
876-
@HtmlUnitNYI(CHROME = "A B C D \nEF\nG \n H I\n Second",
877-
EDGE = "A B C D \nEF\nG \n H I\n Second",
878-
FF = "A B C D \nEF\nG \n H I\n Second",
879-
FF_ESR = "A B C D \nEF\nG \n H I\n Second")
872+
@HtmlUnitNYI(CHROME = "A B C D \nEF\nG \n H\nI\n Second",
873+
EDGE = "A B C D \nEF\nG \n H\nI\n Second",
874+
FF = "A B C D \nEF\nG \n H\nI\n Second",
875+
FF_ESR = "A B C D \nEF\nG \n H\nI\n Second")
880876
public void getVisibleTextWhiteSpaceSelectPreLine() throws Exception {
881877
getVisibleTextWhiteSpaceSelect("pre-line");
882878
}

src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,8 +1442,8 @@ public void selectAndAttribute() throws Exception {
14421442
@Test
14431443
@Alerts(DEFAULT = {"false-null", "true-true", "true-null",
14441444
"false-selected", "false-null", "true-true"},
1445-
FF = {"false-null", "true-true", "true-null",
1446-
"false-selected", "false-null", "false-true"},
1445+
FF = {"false-null", "false-true", "false-null",
1446+
"true-selected", "false-null", "true-true"},
14471447
FF_ESR = {"false-null", "true-true", "true-null",
14481448
"false-selected", "false-null", "false-true"})
14491449
@HtmlUnitNYI(FF = {"false-null", "true-true", "true-null", "false-selected", "false-null", "true-true"},

0 commit comments

Comments
 (0)