Add crashtests

This commit is contained in:
jruderman@hmc.edu 2007-12-16 20:22:22 -08:00
parent 5df50bae4a
commit c682072500
5 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boo()
{
document.getElementById("td46").setAttribute("rowspan", 3);
document.getElementById("tbody6").appendChild(document.createTextNode('X'));
}
window.addEventListener("load", boo, false);
</script>
</head>
<body>
<table border="1">
<tbody id="tbody6">
<tr id="tr7">
<td>A</td>
<td>B</td>
Y
</tr>
<tr>
<td>C</td>
<td id="td46">D</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,39 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
function foo()
{
var e = document.createElement("td");
document.getElementById("h").appendChild(e);
e.setAttribute("rowspan", 2);
e.setAttribute("colspan", 3);
var tbody = document.getElementById("tbody");
tbody.parentNode.removeChild(tbody);
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="setTimeout(foo, 30)">
<table id="table1">
<thead style="visibility: collapse">
<tr id="h"><td rowspan="2">A</td></tr>
</thead>
<tfoot>
<tr><td rowspan="2" colspan="0">B</td></tr>
<tr><td>C</td></tr>
</tfoot>
<tbody id="tbody">
<tr><td>D</td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,33 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<h3>Tables</h3>
<table style="border-collapse: collapse;">
<tbody>
<tr>
<td>td</td>
</tr>
</tbody>
<tbody>
<tr style="visibility: collapse;">
<td colspan="0">td</td>
</tr>
<tr>
<td>td</td>
<td colspan="0">td</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,26 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boom()
{
document.getElementById('A').setAttribute('colspan', 0);
document.getElementById('B').setAttribute('rowspan', 3);
}
</script>
</head>
<body onload="boom();">
<table>
<tr>
<td id="A">TD</td>
<td id="B" colspan="3">TD</td>
</tr>
</table>
</body>
</html>

View File

@ -4,6 +4,10 @@ load 331344-1.html
load 331446-1.xhtml
load 339315-1.html
load 341227-1.xhtml
load 343588-1.xhtml
load 347725-1.xhtml
load 350524-1.xhtml
load 351328-1.xhtml
load 379687-1.html
load 398157-1.xhtml
load 399209-1.xhtml