new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@100537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
61
mozilla/layout/html/tests/table/interactive/bug91934.html
Normal file
61
mozilla/layout/html/tests/table/interactive/bug91934.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
TD
|
||||
{
|
||||
border: 1px solid;
|
||||
width:125px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.onload = windowLoad;
|
||||
|
||||
function windowLoad()
|
||||
{
|
||||
var newTable = document.createElement("table");
|
||||
newTable.id = "newTable";
|
||||
|
||||
for(var y=0;y<5;y++)
|
||||
|
||||
{
|
||||
var newRow = newTable.insertRow(y);
|
||||
|
||||
|
||||
for(x=0;x<5;x++)
|
||||
|
||||
{
|
||||
var newCell = newRow.insertCell(x);
|
||||
|
||||
|
||||
if(y == 0 && x == 4)
|
||||
{
|
||||
newCell.appendChild(document.createTextNode("A looooooooooooooooooooooooooooooooooooooooong string"));
|
||||
}
|
||||
else
|
||||
{
|
||||
newCell.appendChild(document.createTextNode("r" + y + "c" + x));
|
||||
}
|
||||
}
|
||||
}
|
||||
document.body.appendChild(newTable);
|
||||
}
|
||||
|
||||
function modify()
|
||||
{
|
||||
var t = document.getElementById("newTable");
|
||||
|
||||
var cell = t.rows[0].cells[4];
|
||||
|
||||
cell.firstChild.nodeValue = "A short string";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form>
|
||||
<input type="button" onclick="modify();" value="(1) Fill cell with lshort string"><br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
20
mozilla/layout/html/tests/table/interactive/bug92647.html
Normal file
20
mozilla/layout/html/tests/table/interactive/bug92647.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
hit the button
|
||||
<BR>
|
||||
<TABLE border="1">
|
||||
<TR>
|
||||
<TD>
|
||||
<TABLE border="1">
|
||||
<TR>
|
||||
<TD WIDTH="30%"></TD>
|
||||
<TD WIDTH="70%"><INPUT TYPE=button></TD>
|
||||
<TD></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user