layout/reftests/bugs/386401-2.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 c = document.getElementById("appendhere");
    24     var newc = document.createElement("td");
    25     var t = document.createTextNode("A really big header");
    26     newc.appendChild(t);
    27     c.parentNode.appendChild(newc);
    28     document.documentElement.className = "";
    29   }
    31   </script>
    32 </head>
    33 <body onload="run()">
    35 <table>
    36   <thead><tr><td>Header</td><td id="appendhere">Header</td></tr></thead>
    37   <tfoot><tr><td>Footer</td><td>Footer</td><td>Footer</td></tr></tfoot>
    38   <tbody>
    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     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    42     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    43     <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    44   </tbody>
    45 </table>
    47 </body>
    48 </html>

mercurial