Bug 1535077 - Switch to using Ref and PureComponent in the SearchBox component. r...
[gecko.git] / layout / reftests / bugs / 386401-3.html
bloba4bd8463e38035fc0c84fc9513206a2250702b5d
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#main { border-spacing: 2px; }
12 table#main td { border: 1px solid; padding: 2px; }
13 table#main tbody { overflow: scroll; }
15 </style>
16 <script type="text/javascript">
18 function run() {
19 setTimeout(run2, 0);
22 function run2() {
23 var c = document.getElementById("grow");
24 c.style.width="99%";
25 document.documentElement.className = "";
28 </script>
29 </head>
30 <body onload="run()">
32 <table id="outer"><tr>
33 <td>
35 <table id="main">
36 <thead><tr><td>Header</td><td>Header</td><td>A really big 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 </td>
48 <td id="grow">
49 </td>
50 </table>
52 </body>
53 </html>