summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/523096-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/523096-1.html')
-rw-r--r--layout/reftests/bugs/523096-1.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/layout/reftests/bugs/523096-1.html b/layout/reftests/bugs/523096-1.html
new file mode 100644
index 0000000000..ac90650c36
--- /dev/null
+++ b/layout/reftests/bugs/523096-1.html
@@ -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>