Thu, 22 Jan 2015 13:21:57 +0100
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>