new regression tests not affecting the build.

This commit is contained in:
karnaze%netscape.com 2002-04-06 23:55:54 +00:00
Родитель e0386429f0
Коммит 5a5b45ea73
6 изменённых файлов: 179 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
</head>
<body>
<form>
<button onclick="hideShow();return false;">Hide/Show</button>
<div id="el1" style="position:absolute;left:200px;top:200px;width:200px;height:200px;border:1px solid #000000;">
<input type="textbox" size="3" maxlength="3" value="240" /></div>
<script type="text/javascript">
function hideShow()
{
if(document.defaultView.getComputedStyle(document.getElementById("el1"),"").getPropertyValue("display")=="none")
{
displayValue="block";
} else
{
displayValue="none";
}
document.getElementById('el1').style.display = displayValue;
}
</script>
</form>
</body>
</html>

Просмотреть файл

@ -0,0 +1,36 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>yet another 100% problem</title>
</head>
<body>
<table bgcolor="black" height=100% width=100% summary="test1" border=1 cellpadding=10 cellspacing=0>
<tr>
<td>
<table bgcolor="orange" height=100% width=100% summary="test2" border=1 cellpadding=10 cellspacing=0>
<tr>
<td>
<table bgcolor="red" height=100% width=100% summary="test3" border=1 cellpadding=10 cellspacing=0>
<tr>
<td>
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

Просмотреть файл

@ -76,4 +76,5 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug13169.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug13169.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug133756-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug133756-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug133948.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug13526.html

Просмотреть файл

@ -0,0 +1,74 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
table {
border-collapse: collapse;
}
td {
border: 1px solid blue;
}
</style>
</head>
<body onLoad=handleOnLoad()>
The table below has two rows with blue borders.<br>
If we add a new similar row using DHTML the borders disappear. They may although
show up in small bits and pieces depending on what you do hereafter (using the
menus, opening other windows, and various other things).<p>
<table id="myTable">
<tr>
<th>Column-A</th>
<th>Column-B</th>
<th>Column-C</th>
</tr>
<tr>
<td>A1</td>
<td>A2</td>
<td>A3</td>
</tr>
<tr>
<td>B1</td>
<td>B2</td>
<td>B3</td>
</tr>
</table>
<script>
function handleOnLoad()
{
var table = document.getElementById("myTable");
alert("Now we add a new row");
// Add a new row at the end of the table
var newRow = table.insertRow(3);
var cell;
for (var i=0 ; i<3 ; ++i)
{
if (0)
{
cell = document.createElement("TD");
cell.innerHTML = "C"+(i+1);
newRow.appendChild(cell);
}
else
{
cell = newRow.insertCell(i);
cell.innerHTML = "C"+(i+1);
}
}
}
</script>
</body>
</html>

Просмотреть файл

@ -0,0 +1,38 @@
<TABLE cellSpacing=0 cellPadding=0 width=750 border=2>
<TR>
<TD vAlign=top rowSpan=2>
xxx<BR>yyy<BR>zzz<BR>
<BR>
</TD>
<TD vAlign=top width=447 rowSpan=2>
<TABLE width=400 border=1>
<TR>
<TD vAlign=top width=20><INPUT type=radio value=2 name=correct1>
</TD>
<TD width=380><FONT face=Verdana size=-1>The paramilitaries have
been accused by UN observers of torture and murder.</FONT>
<BR><BR><BR>1<BR><BR><BR><BR><BR>2<BR><BR><BR><BR><BR><BR>3<BR><BR><BR><BR>
<BR><BR>4<BR><BR><BR><BR><BR>5<BR><BR><BR><BR><BR><BR>6<BR><BR><BR><BR><BR>foo
</TD>
</TR>
<TR>
<TD vAlign=top width=20>ppp
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>bar
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD width=17><IMG height=1 alt=""
src="S:\mozilla\dist\WIN32_D.OBJ\bin\res\samples\test0_files\spacer(1).gif"
width=5>
</TD>
<TR>
<TD align=right width=600 colSpan=6><IMG height=1 hspace=0
src="test0_files/gray.gif" width=600 border=0>
</TD>
</tr>
</TABLE>

Просмотреть файл

@ -2,6 +2,7 @@
file:///s|/mozilla/layout/html/tests/table/printing/bug102784.html
file:///s|/mozilla/layout/html/tests/table/printing/bug105166.html
file:///s|/mozilla/layout/html/tests/table/printing/bug111028.html
file:///s|/mozilla/layout/html/tests/table/printing/bug123983.html
file:///s|/mozilla/layout/html/tests/table/printing/bug124041.html
file:///s|/mozilla/layout/html/tests/table/printing/bug126118.html
file:///s|/mozilla/layout/html/tests/table/printing/bug24000-1.html