layout/base/crashtests/306940-1.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial