Parser regression test files.

** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@101847 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2001-08-27 22:40:48 +00:00
parent d3525da5ab
commit d5d2590d74
22 changed files with 350 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
<html>
<head>
<style>
font { background-color:yellow }
</style>
</head>
<body>
<font color=red>italized text<x> unknown
<table border=1>
<tr>
<td>
</font>cell 1
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<HTML>
<BODY bgColor=#000099>
<TABLE border=1>
<TR>
<TD bgcolor="red">
Cell-1
</TD>
</TR>
<TR vAlign=top>
<TD bgColor="blue">
<FORM>
<TABLE border=1>
<TR vAlign=top>
<TD bgcolor="green">
Cell-2
</TD>
</FORM>
</BODY>
</HTML>

View File

@@ -0,0 +1,22 @@
<html>
<head>
<style>
font { background-color:yellow }
div { color:green }
x { background-color:blue; }
</style>
</head>
<body>
<font face="helvetica">
red<x> unknown
<div>div a
</font>
div b
</div>
normal text
</table>
</body>
</html>

View File

@@ -0,0 +1,8 @@
<html>
<body>
<a href="foo.html">
<iframe>
<a href="bar.html">
</iframe>foo
</a>
</body>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE>
<HTML>
<BODY bgcolor=pink>
<table>&lang;
<tr><!-- &rang; --><harish></harish>
<td> &amp;
<div>div<p><xmp>p<I>I</div></I></xmp>
</td>
</tr>
</table>
<object><i>italic</object>
This text doesn't show up.!
</BODY></HTML>

View File

@@ -0,0 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
This should be visible.
<p>
This is a new paragraph.

View File

@@ -0,0 +1,34 @@
<!-- Tag Soup -->
<html>
<head>
<title> Bugscape Bug 5040 </title>
<style type="text/css">
:table-cell { border: red dotted 10px; }
</style>
</head>
<body>
<table>
<tr>
<td bgcolor=pink>
<form>
<table border=1>
<tr>
<td bgcolor=blue>
<table>
<span> CONTENT PROMOTED ABOVE INNER TABLE </span>
<tr>
<td bgcolor=green> ROW 1 CELL 1 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td> ROW 2 CELL 1 </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,24 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<style>
font {
font-size: 20pt;
color: yellow;
background-color: red;
}
</style>
</head>
<body>
<font face="courier">
this text is above a table.
<TABLE border=1><TR><TD>
this text is inside a table.
</td></tr></table>
this text is below a table.
</body>
</html>

View File

@@ -0,0 +1,9 @@
<HTML>
<BODY>
<FONT color=blue>
<B>blue bold,<I>blue bold italic,
</FONT>not blue but bold and italic,
<FONT COLOR="red">red bold and italic,
</B>red and italic but not bold,</I>red not bold not italic</FONT>
</BODY>
</HTML>

View File

@@ -0,0 +1,15 @@
<HTML>
<style>
Z { color:red; }
</style>
<BODY>
<FONT><X>
<TABLE border="2">
<Z>Should be above the Table</FONT>
<TR>
<TD>
Cell
</TD>
</TR>
</TABLE>
</BODY></HTML>

View File

@@ -20,6 +20,7 @@
foreach $input(<FILE_LIST>) {
$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(<FILE_LIST>) {
$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] <filelist>\n\n";
print "\nUsage: perl TestParser.pl [-b|-v] <filelist>\n\n";
}
close(FILE_LIST);