new regression tests - does not affect build.

This commit is contained in:
karnaze%netscape.com 1999-11-07 20:02:08 +00:00
parent b9a3038667
commit 0652942e6a
14 changed files with 222 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<html><head><title>Testcase for bug 17138</title></head>
<body bgcolor="#FFFFFF">
<h4>Testcase distilled from <a href="http://www.weather.com">http://www.weather.com</a></h4>
<TABLE WIDTH="450" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD COLSPAN=3 VALIGN="TOP"><IMG SRC="../images//breaking_weather_314_anim.gif"
WIDTH=318 HEIGHT=17></TD>
<TD ROWSPAN=2>
<TABLE BGCOLOR="E0EBF5" HEIGHT=125 WIDTH=125 CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD><img src="../images/weather_center/125_ncbug.gif"><BR>
Jose moving out to sea<BR><BR><BR><BR><BR><BR><BR><BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD VALIGN="TOP"><IMG SRC="../images/fall_167x105.jpg"
HEIGHT=105 WIDTH=167 ALT="Fall">
</TD>
<TD>&nbsp;</TD>
<TD VALIGN="TOP"><FONT FACE="ARIAL,HELVETICA" SIZE=2><B>Chilly time</B><BR>
Though the calendar disagrees, the feel of winter is in the air across much of the East.</FONT>
</TD>
</TR>
</TABLE>
</body></html>

View File

@ -0,0 +1,26 @@
<html>
<body bgcolor=#c0c0c0>
<table border=5 width=400>
<tr>
<td width=50% colspan=2>50%</td><td>foo</td>
</tr>
<tr>
<td width=25%>25%</td><td>bar</td>
</tr>
</table>
<br>
<table border=5 width=400>
<tr>
<td colspan=2>foo</td><td width=50%>50%</td>
</tr>
<tr>
<td width=25%>25%</td><td>bar</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,75 @@
<html>
<head>
<title>Bug 2997</title>
</head>
<body>
<p>Here's the original case. All of the cells have images that fill to
their given widths except the ones marked "Empty".</p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p>If we fill either empty out with text, the problem goes away.</p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty - lots of text here now - and more and more and more text in it</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p>&nbsp;</p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty - this has lots and lots and lots of text in it</td></tr>
</tr></table>
<p>Taking away either the cellpadding=0 or cellspacing=0 fixes the problem.</p>
<table width="566" bgcolor="#00FFFF">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p>As does removing the explicit width on the table...</p>
<table bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
</body>
</html>

View File

@ -0,0 +1,29 @@
<html>
<head>
<script>
function hide() {
var cell2 = document.getElementById("cell2");
cell2.setAttribute("style", "border:2px solid green;display:none;width:0%;");
}
function show() {
var cell2 = document.getElementById("cell2");
cell2.setAttribute("style", "border:2px solid green;display:normal;width:33%;");
}
</script>
</head>
<body onload="show()">
<table width="80%">
<tr>
<td width="33%" style="border: 2px solid red;">
Cell 1 (width=33%).
</td>
<td id="cell2" style="border:2px solid green;display:none;width:0%;">
Cell 2 (width=33%).
</td>
<td width="*" style="border: 2px solid blue;">
Cell 3 (width=*) - should be 67% when cell 2 is hidden, 33% when cell 2 is visible.
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,29 @@
<html>
<head>
<script>
function hide() {
var cell2 = document.getElementById("cell2");
cell2.setAttribute("style", "border:2px solid green;display:none;width:0%;");
}
function show() {
var cell2 = document.getElementById("cell2");
cell2.setAttribute("style", "border:2px solid green;display:normal;width:33%;");
}
</script>
</head>
<body onload="hide()">
<table width="80%">
<tr>
<td width="33%" style="border: 2px solid red;">
Cell 1 (width=33%).
</td>
<td id="cell2" style="border:2px solid green;width:33%;">
Cell 2 (width=33%).
</td>
<td width="*" style="border: 2px solid blue;">
Cell 3 (width=*) - should be 67% when cell 2 is hidden, 33% when cell 2 is visible.
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,28 @@
<HTML>
<HEAD>
<TITLE>
EarthLink Homepage
</TITLE>
</HEAD>
<BODY BGCOLOR="#000066">
<BASEFONT NAME="Helvetica, Arial" SIZE="-1">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="613">
<TR>
<TD WIDTH="126" ALIGNx=CENTER VALIGNx=TOP ROWSPAN=2>
<A HREF="/"><IMG SRC="../images/logo.gif" WIDTH="126" HEIGHT="85" BORDER="0"></A>
</TD>
<TD ALIGN=LEFT WIDTH="487" COLSPAN="3"><nobr><iframe align=left width=468 height=60 noresize scrolling=no frameborder=0 marginheight=0 marginwidth=0 srcx="http://adforce.imgis.com/?adiframe|2.0|2|7221|1|1|ADFORCE;"> <A href="http://adforce.imgis.com/?adlink|2|7221|1|1|misc=923531718;AdId=57669;BnId=1;IMGIS;loc=400;" TARGET=_top><IMG SRCx="../images/Ad57669St1Sz1Sq1Id1.gif" NAME=imgisad BORDER=0 ALT='An online greeting for your secretary' WIDTH=468 HEIGHT=60></A> </iframe><A HREF="/advertise/"><IMG SRCx="../images/ad_info.gif" WIDTH="19" HEIGHT="60" BORDER="0"></A></NOBR><BR clear=all>
<IMG SRCx="../images/blue_1x1.gif" WIDTH="470" HEIGHT="10" BORDER="0"><BR></TD>
</TR>
<FORM method=get action="http://start.earthlink.net/AL/TrackForm"><INPUT type="hidden" name="cobrand" value="earthlink"><INPUT type="hidden" name="_v" value="2"><INPUT type="hidden" name="RD" value="DM"><INPUT type="hidden" name="OPs" value="R">
<INPUT type="hidden" name="url" value="http://redirect.hotbot.com/redir/723/http://www.hotbot.com/">
<INPUT type="hidden" name="vars" value="MT,domain,cobrand,_v,OPs,RD">
<TR>
<TD align=left valign=middle bgcolor="#CCCCCC"><IMG src="../images/join.gif" width="232" height="25" border="0" usemap="#join_earthlink"></TD>
<TD align=center valign=middle bgcolor="#CCCCCC"><INPUT type="text" name="MT" size="10" maxlength=50><INPUT type=image src="../images/go.gif" name="IMAGE" value="Submit Search" width="25" height="18" align="ABSMIDDLE" border="0"></TD>
<TD alignx=right valignx=middle bgcolor="#CCCCCC"><INPUT type="radio" name="domain" value="" checked><IMG src="../images/the_web.gif" alt="The Web" width="40" height="25" border="0" align="ABSMIDDLE"><INPUT type="radio" name="domain" value="www.earthlink.net help.earthlink.net"><IMG srcx="../images/top_nav_earthlink.gif" alt="EarthLink" width="46" height="25" border="0" align="ABSMIDDLE"></TD>
</TR></FORM>
</TABLE>
</BODY>
</HTML>

View File

@ -49,6 +49,8 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug1647.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1647.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug17130-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug17130-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug17138.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug17168.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1800.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1818-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1818-2.html
@ -78,6 +80,7 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug2962.html
# file:///s:/mozilla/layout/html/tests/table/bugs/bug2973.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug2981-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug2981-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug2997.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3037-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3037-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3103.html
@ -89,6 +92,8 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug3309-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3309-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3454.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3517.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3681-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3681-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3718.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3831.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3977.html
@ -102,6 +107,7 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug4429.html
# file:///s:/mozilla/layout/html/tests/table/bugs/bug4501.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4520.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4523.html
# file:///s:/mozilla/layout/html/tests/table/bugs/bug4527.html
# file:///s:/mozilla/layout/html/tests/table/bugs/bug4576.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4739.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4803.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B