mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Adding test for bug 523096
This commit is contained in:
parent
6c9f36152a
commit
12870ceb8a
36
layout/reftests/bugs/523096-1-ref.html
Normal file
36
layout/reftests/bugs/523096-1-ref.html
Normal 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>
|
43
layout/reftests/bugs/523096-1.html
Normal file
43
layout/reftests/bugs/523096-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user