new regression tests not affecting the build.

This commit is contained in:
karnaze%netscape.com 2000-02-14 06:06:34 +00:00
parent e7fcf79431
commit 30bfa7bc94
4 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<html>
<body bgcolor="#c0c0c0">
<script>
document.write('<table border=4><tr><td width="100%"><table border=5><tr><td>This is');
</script>
<script>
document.write('cell 1</td></tr></table></td><td>Hello world! Hello world!</td></tr></table>');
</script>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Mozilla Test: Table + DHTML Problem in Mozilla</TITLE>
<META name="author" content="Antti Huotari">
<SCRIPT type="text/javascript" language="javascript">
<!-- ===== hide
// window.onerror = null;
var agt = navigator.userAgent.toLowerCase ();
var is_major = parseInt (navigator.appVersion);
var is_minor = parseFloat (navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla') != -1)
&& (agt.indexOf('spoofer') == -1)
&& (agt.indexOf('compatible') == -1)
&& (agt.indexOf('opera') == -1)
&& (agt.indexOf('webtv') == -1));
var is_nav5 = (is_nav && (is_major == 5));
var is_ie = (agt.indexOf("msie") != -1);
var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0") != -1));
function moveTestdiv ()
{
document.getElementById('testDiv').style.left = 200 + 'px';
document.getElementById('testDiv').style.top = 200 + 'px';
}
function init ()
{
if (is_nav5 || is_ie5)
{
setTimeout ("moveTestdiv ()", 700)
}
}
// ===== hiding ends ===== -->
</SCRIPT>
</HEAD>
<BODY style="background: #999999; color: #000000;" onLoad="init()">
<div id="testDiv" style="position: absolute; left: 70px; top: 70px;">
<TABLE border="0" width="173" bgcolor="#CC6600" cellspacing="0" cellpadding="0">
<TR>
<TD><P align="center"><B>Testing</B></P></TD>
</TR>
</TABLE>
<TABLE border="0" width="173" cellspacing="0" cellpadding="0">
<TR>
<TD width="9" bgcolor="#666666">&nbsp;</TD>
<TD width="123" bgcolor="#FF9900">Test, test and test...</TD>
<TD width="9" bgcolor="#666666">&nbsp;</TD>
</TR>
</TABLE>
<TABLE border="0" width="173" bgcolor="#CC6600" cellspacing="0" cellpadding="0">
<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
</DIV>
<P>Problem: Tables inside a DIV get border=1 after moving the DIV.
If you <A href="test2.html"><B>remove the border</B></A>
attribute from the tables, the border doesn't show up.</P>
</BODY>
</HTML>

View File

@ -0,0 +1,49 @@
<HTML> <HEAD> <base href='http://www.sfgate.com/'></HEAD> <BODY>
<p><b>original page, stripped down to the problem table (pattern: auto
width table with first row has specified width and colspan=2, second
row has two specified width columns)</b></p>
<TABLE BORDER="1">
<TR>
<TD WIDTH=490 COLSPAN=2 VALIGN=TOP>
Cons For Pokemon "They're Pokemon card sharks out there. This is
worse than the Cabbage Patch Kid craze because now it's the kids who
are actually fighting each other instead of just the parents."
-- Children are doing anything, including breaking the law, to get
their grubby hands on some trading cards, observe police.
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=268> ASDF </TD>
<TD VALIGN=TOP WIDTH=222>
Sat., Dec 11, 1999
Gay Union Kibosh Hawaii Supreme Court slams the
door on same-sex marriages. All eyes look to Vermont.
</TD>
</TR>
</TABLE>
<br>
<p><b>same table, but less content (text) in the first cell ...</b></p>
<TABLE BORDER="1">
<TR>
<TD WIDTH=490 COLSPAN=2 VALIGN=TOP>
Cons For Pokemon "They're Pokemon card sharks out there. This is
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=268> ASDF </TD>
<TD VALIGN=TOP WIDTH=222>
Sat., Dec 11, 1999
Gay Union Kibosh Hawaii Supreme Court slams the
door on same-sex marriages. All eyes look to Vermont.
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View File

@ -73,7 +73,10 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug1818-5.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug1818-6.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug1828.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug18359.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug18558.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug18664.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug18770.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug18955.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug19061-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug19061-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug19356.html