layout/base/crashtests/348688-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/348688-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     1.5 +<html><head>
     1.6 +    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     1.7 +    <title>Testcase #1 for bug 348688</title>
     1.8 +<script>
     1.9 +function boom() {
    1.10 +  var e = document.getElementById('inline1');
    1.11 +  e.parentNode.removeChild(e);
    1.12 +  
    1.13 +  e = document.getElementById('inline2');
    1.14 +  e.parentNode.removeChild(e);
    1.15 +  var x = document.body.offsetHeight;
    1.16 +}
    1.17 +</script>
    1.18 +</head>
    1.19 +<body onload="boom()">
    1.20 +
    1.21 +<div style="overflow:hidden">
    1.22 +<font><span id="inline1"><b id="float1" style="float:left">x</b></span></font>
    1.23 +<i id="inline2">y</i>
    1.24 +</div>
    1.25 +
    1.26 +</body>
    1.27 +</html>

mercurial