Adding test for bug 523096

This commit is contained in:
Boris Zbarsky 2009-10-20 01:43:24 -04:00
parent 6c9f36152a
commit 12870ceb8a
3 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<html>
<head>
<style>
table { empty-cells: show; }
</style>
</head>
<body>
<table border="1" id="thetable">
<thead>
<tr>
<th>col1</th>
<th>col2</th>
<th>col3</th>
<th>col4</th>
<th>col5</th>
</tr>
</thead>
<tbody style="overflow-y:auto;overflow-x:hidden;">
<tr>
<td>val1</td>
<td></td>
<td><input maxlength="6" type="text" id="input" value="text" size="6" /></td>
<td></td>
<td></td>
</tr>
<tr>
<td>val2</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,43 @@
<html>
<head>
<style>
table { empty-cells: show; }
</style>
<script>
window.onload = function() {
var thetable = document.getElementById("thetable");
var input = document.getElementById("input");
thetable.rows[1].cells[2].appendChild(input);
}
</script>
</head>
<body>
<table border="1" id="thetable">
<thead>
<tr>
<th>col1</th>
<th>col2</th>
<th>col3</th>
<th>col4</th>
<th>col5</th>
</tr>
</thead>
<tbody style="overflow-y:auto;overflow-x:hidden;">
<tr>
<td>val1</td>
<td><input maxlength="6" type="text" id="input" value="text" size="6" /></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>val2</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -1330,3 +1330,4 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs
== 521539-1.html 521539-1-ref.html
== 520421-1.html 520421-1-ref.html
== 521685-1.html 521685-1-ref.html
== 523096-1.html 523096-1-ref.html