layout/reftests/bugs/386401-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 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     2   "http://www.w3.org/TR/html4/strict.dtd">
     3 <html lang="en-US" class="reftest-wait">
     4 <head>
     5   <title>Testcase, bug 386401</title>
     6   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7   <meta http-equiv="Content-Style-Type" content="text/css">
     8   <meta http-equiv="Content-Script-Type" content="text/javascript">
     9   <style type="text/css">
    11   table { border-spacing: 2px; width: 30em; }
    12   td { border: 1px solid; padding: 2px; }
    13   tbody { overflow: scroll; }
    15   </style>
    16   <script type="text/javascript">
    18   function run() {
    19     setTimeout(run2, 0);
    20   }
    22   function run2() {
    23     var t = document.getElementById("grow").firstChild;
    24     t.data = "A really big header.";
    25     document.documentElement.className = "";
    26   }
    28   </script>
    29 </head>
    30 <body onload="run()">
    32 <table>
    33   <thead><tr><td>Header</td><td id="grow">Header</td><td>Header</td></tr></thead>
    34   <tfoot><tr><td>Footer</td><td>Footer</td><td>Footer</td></tr></tfoot>
    35   <tbody>
    36     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    37     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    38     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    39     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    40     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    41   </tbody>
    42 </table>
    44 </body>
    45 </html>

mercurial