layout/base/crashtests/348688-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

     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     2 <html><head>
     3     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     4     <title>Testcase #1 for bug 348688</title>
     5 <script>
     6 function boom() {
     7   var e = document.getElementById('inline1');
     8   e.parentNode.removeChild(e);
    10   e = document.getElementById('inline2');
    11   e.parentNode.removeChild(e);
    12   var x = document.body.offsetHeight;
    13 }
    14 </script>
    15 </head>
    16 <body onload="boom()">
    18 <div style="overflow:hidden">
    19 <font><span id="inline1"><b id="float1" style="float:left">x</b></span></font>
    20 <i id="inline2">y</i>
    21 </div>
    23 </body>
    24 </html>

mercurial