348688-1.html (610B)
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.remove(); 9 10 e = document.getElementById('inline2'); 11 e.remove(); 12 var x = document.body.offsetHeight; 13 } 14 </script> 15 </head> 16 <body onload="boom()"> 17 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> 22 23 </body> 24 </html>