diff --git a/mozilla/htmlparser/tests/logparse/56245_1.html b/mozilla/htmlparser/tests/logparse/56245_1.html new file mode 100644 index 00000000000..d3ddd7e8123 --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/56245_1.html @@ -0,0 +1,19 @@ + + + + + +italized text unknown + + + + +
+ cell 1 +
+ + + + diff --git a/mozilla/htmlparser/tests/logparse/56245_2.html b/mozilla/htmlparser/tests/logparse/56245_2.html new file mode 100644 index 00000000000..cc69db2c99a --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/56245_2.html @@ -0,0 +1,19 @@ + + + + + + + +
+ Cell-1 +
+
+ + + + + + diff --git a/mozilla/htmlparser/tests/logparse/56245_3.html b/mozilla/htmlparser/tests/logparse/56245_3.html new file mode 100644 index 00000000000..676a70fb64d --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/56245_3.html @@ -0,0 +1,22 @@ + + + + + + + red unknown +
div a + + div b +
+ normal text + +
+ Cell-2 +
+ + + + diff --git a/mozilla/htmlparser/tests/logparse/84491.html b/mozilla/htmlparser/tests/logparse/84491.html new file mode 100644 index 00000000000..c2b2638c8ad --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/84491.html @@ -0,0 +1,8 @@ + + + + foo + + diff --git a/mozilla/htmlparser/tests/logparse/88992.html b/mozilla/htmlparser/tests/logparse/88992.html new file mode 100644 index 00000000000..ab1757698fe --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/88992.html @@ -0,0 +1,15 @@ + + + +⟨ + + + +
& +
div

p<I>I</div></I> +
+ + italic + This text doesn't show up.! + + diff --git a/mozilla/htmlparser/tests/logparse/91051.html b/mozilla/htmlparser/tests/logparse/91051.html new file mode 100644 index 00000000000..5ae9ced6e43 --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/91051.html @@ -0,0 +1,6 @@ + +This should be visible. +

+This is a new paragraph. + + diff --git a/mozilla/htmlparser/tests/logparse/92530.html b/mozilla/htmlparser/tests/logparse/92530.html new file mode 100644 index 00000000000..4f12c42d795 --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/92530.html @@ -0,0 +1,34 @@ + + + + Bugscape Bug 5040 + + + + + + + +
+
+ + + + + + + +
+ + CONTENT PROMOTED ABOVE INNER TABLE + + + +
ROW 1 CELL 1
+
ROW 2 CELL 1
+
+
+ + diff --git a/mozilla/htmlparser/tests/logparse/93365.html b/mozilla/htmlparser/tests/logparse/93365.html new file mode 100644 index 00000000000..524945b1c6b --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/93365.html @@ -0,0 +1,24 @@ + + + + + + + + +this text is above a table. + +
+this text is inside a table. +
+ +this text is below a table. + + + \ No newline at end of file diff --git a/mozilla/htmlparser/tests/logparse/94208.html b/mozilla/htmlparser/tests/logparse/94208.html new file mode 100644 index 00000000000..c9cacb2d28a --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/94208.html @@ -0,0 +1,9 @@ + + + + blue bold,blue bold italic, + not blue but bold and italic, + red bold and italic, + red and italic but not bold,red not bold not italic + + diff --git a/mozilla/htmlparser/tests/logparse/96130.html b/mozilla/htmlparser/tests/logparse/96130.html new file mode 100644 index 00000000000..ae546180d1c --- /dev/null +++ b/mozilla/htmlparser/tests/logparse/96130.html @@ -0,0 +1,15 @@ + + + + + + Should be above the Table + + + +
+ Cell +
+ diff --git a/mozilla/htmlparser/tests/logparse/TestParser.pl b/mozilla/htmlparser/tests/logparse/TestParser.pl index 807376a9cc9..326c584adda 100644 --- a/mozilla/htmlparser/tests/logparse/TestParser.pl +++ b/mozilla/htmlparser/tests/logparse/TestParser.pl @@ -20,6 +20,7 @@ foreach $input() { $input =~s/\n//g; @output=split(/\./,$input); + print "\n$input\n"; system("$drive\mozilla/dist/WIN32_D.obj/bin/TestParser.exe $input $output[0].b"); } } @@ -27,13 +28,14 @@ foreach $input() { $input =~s/\n//g; @output=split(/\./,$input); + print "\n$input\n"; system("$drive\mozilla/dist/WIN32_D.obj/bin/TestParser.exe $input $output[0].v"); - system("fc $output[0].b $output[0].v"); + system("fc $output[0].b $output[0].v"); } } else { print "\n\"$ARGV[0]\" unknown....\n"; - print "\nUsage: perl TestParser.pl [-b|-v|-c] \n\n"; + print "\nUsage: perl TestParser.pl [-b|-v] \n\n"; } close(FILE_LIST); diff --git a/mozilla/parser/htmlparser/tests/logparse/56245_1.html b/mozilla/parser/htmlparser/tests/logparse/56245_1.html new file mode 100644 index 00000000000..d3ddd7e8123 --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/56245_1.html @@ -0,0 +1,19 @@ + + + + + +italized text unknown + + + + +
+ cell 1 +
+ + + + diff --git a/mozilla/parser/htmlparser/tests/logparse/56245_2.html b/mozilla/parser/htmlparser/tests/logparse/56245_2.html new file mode 100644 index 00000000000..cc69db2c99a --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/56245_2.html @@ -0,0 +1,19 @@ + + + + + + + +
+ Cell-1 +
+
+ + + + + + diff --git a/mozilla/parser/htmlparser/tests/logparse/56245_3.html b/mozilla/parser/htmlparser/tests/logparse/56245_3.html new file mode 100644 index 00000000000..676a70fb64d --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/56245_3.html @@ -0,0 +1,22 @@ + + + + + + + red unknown +
div a + + div b +
+ normal text + +
+ Cell-2 +
+ + + + diff --git a/mozilla/parser/htmlparser/tests/logparse/84491.html b/mozilla/parser/htmlparser/tests/logparse/84491.html new file mode 100644 index 00000000000..c2b2638c8ad --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/84491.html @@ -0,0 +1,8 @@ + + + + foo + + diff --git a/mozilla/parser/htmlparser/tests/logparse/88992.html b/mozilla/parser/htmlparser/tests/logparse/88992.html new file mode 100644 index 00000000000..ab1757698fe --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/88992.html @@ -0,0 +1,15 @@ + + + +⟨ + + + +
& +
div

p<I>I</div></I> +
+ + italic + This text doesn't show up.! + + diff --git a/mozilla/parser/htmlparser/tests/logparse/91051.html b/mozilla/parser/htmlparser/tests/logparse/91051.html new file mode 100644 index 00000000000..5ae9ced6e43 --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/91051.html @@ -0,0 +1,6 @@ + +This should be visible. +

+This is a new paragraph. + + diff --git a/mozilla/parser/htmlparser/tests/logparse/92530.html b/mozilla/parser/htmlparser/tests/logparse/92530.html new file mode 100644 index 00000000000..4f12c42d795 --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/92530.html @@ -0,0 +1,34 @@ + + + + Bugscape Bug 5040 + + + + + + + +
+
+ + + + + + + +
+ + CONTENT PROMOTED ABOVE INNER TABLE + + + +
ROW 1 CELL 1
+
ROW 2 CELL 1
+
+
+ + diff --git a/mozilla/parser/htmlparser/tests/logparse/93365.html b/mozilla/parser/htmlparser/tests/logparse/93365.html new file mode 100644 index 00000000000..524945b1c6b --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/93365.html @@ -0,0 +1,24 @@ + + + + + + + + +this text is above a table. + +
+this text is inside a table. +
+ +this text is below a table. + + + \ No newline at end of file diff --git a/mozilla/parser/htmlparser/tests/logparse/94208.html b/mozilla/parser/htmlparser/tests/logparse/94208.html new file mode 100644 index 00000000000..c9cacb2d28a --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/94208.html @@ -0,0 +1,9 @@ + + + + blue bold,blue bold italic, + not blue but bold and italic, + red bold and italic, + red and italic but not bold,red not bold not italic + + diff --git a/mozilla/parser/htmlparser/tests/logparse/96130.html b/mozilla/parser/htmlparser/tests/logparse/96130.html new file mode 100644 index 00000000000..ae546180d1c --- /dev/null +++ b/mozilla/parser/htmlparser/tests/logparse/96130.html @@ -0,0 +1,15 @@ + + + + + + Should be above the Table + + + +
+ Cell +
+ diff --git a/mozilla/parser/htmlparser/tests/logparse/TestParser.pl b/mozilla/parser/htmlparser/tests/logparse/TestParser.pl index 807376a9cc9..326c584adda 100644 --- a/mozilla/parser/htmlparser/tests/logparse/TestParser.pl +++ b/mozilla/parser/htmlparser/tests/logparse/TestParser.pl @@ -20,6 +20,7 @@ foreach $input() { $input =~s/\n//g; @output=split(/\./,$input); + print "\n$input\n"; system("$drive\mozilla/dist/WIN32_D.obj/bin/TestParser.exe $input $output[0].b"); } } @@ -27,13 +28,14 @@ foreach $input() { $input =~s/\n//g; @output=split(/\./,$input); + print "\n$input\n"; system("$drive\mozilla/dist/WIN32_D.obj/bin/TestParser.exe $input $output[0].v"); - system("fc $output[0].b $output[0].v"); + system("fc $output[0].b $output[0].v"); } } else { print "\n\"$ARGV[0]\" unknown....\n"; - print "\nUsage: perl TestParser.pl [-b|-v|-c] \n\n"; + print "\nUsage: perl TestParser.pl [-b|-v] \n\n"; } close(FILE_LIST);