layout/reftests/bugs/523096-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <html>
     2   <head>
     3     <style>
     4       table { empty-cells: show; }
     5     </style>
     6     <script>
     7       window.onload = function() {
     8         var thetable = document.getElementById("thetable");
     9         var input = document.getElementById("input");
    10         thetable.rows[1].cells[2].appendChild(input);
    11       }
    12     </script>
    13   </head>
    14   <body>
    15     <table border="1" id="thetable">
    16       <thead>
    17         <tr>
    18           <th>col1</th>
    19           <th>col2</th>
    20           <th>col3</th>
    21           <th>col4</th>
    22           <th>col5</th>
    23         </tr>
    24       </thead>
    25       <tbody style="overflow-y:auto;overflow-x:hidden;">
    26         <tr>
    27           <td>val1</td>
    28           <td><input maxlength="6" type="text" id="input" value="text" size="6" /></td>
    29           <td></td>
    30           <td></td>
    31           <td></td>
    32         </tr>
    33         <tr>
    34           <td>val2</td>
    35           <td></td>
    36           <td></td>
    37           <td></td>
    38           <td></td>
    39         </tr>
    40       </tbody>
    41     </table>
    42   </body>
    43 </html>

mercurial