layout/base/crashtests/306940-1.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:004ff0368b92
1 <html>
2 <head>
3
4 <script>
5
6 function init()
7 {
8 var c1 = document.getElementById("c1");
9 var f1 = document.getElementById("f1");
10 var a1 = document.getElementById("a1");
11
12 function first()
13 {
14 f1.style.display = "-moz-popup";
15 c1.style.height = "2em";
16 window.status = "A";
17 }
18
19 function second()
20 {
21 c1.style.position = "absolute";
22 c1.style.overflow = "auto";
23 a1.style.position = "absolute";
24 window.status = "B";
25 }
26
27 first();
28 document.documentElement.offsetHeight;
29 second();
30 }
31
32 </script>
33 </head>
34
35 <body onload="init();">
36 <div id="c1">
37 <div id="f1">
38 <table>
39 <tr>
40 <td>
41
42 <span id="a1">Foo</span>
43 </td>
44 </tr>
45 </table>
46 </div>
47 </div>
48 </body>
49
50 </html>

mercurial