layout/base/crashtests/306940-1.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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