layout/generic/crashtests/604843.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/604843.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  document.documentElement.offsetHeight;
    1.12 +
    1.13 +  var c = document.getElementById("c");
    1.14 +  var t1 = document.createTextNode("x x x x x x x x x x x x x x x x x x x x");
    1.15 +  var t2 = document.createTextNode("y y y y y y y y y y y y y y y y y y y y y");
    1.16 +  c.appendChild(t1);
    1.17 +  c.appendChild(t2);
    1.18 +  document.documentElement.offsetHeight;
    1.19 +
    1.20 +  var div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    1.21 +  c.insertBefore(div, t2);
    1.22 +  document.documentElement.offsetHeight;
    1.23 +}
    1.24 +
    1.25 +</script>
    1.26 +</head>
    1.27 +
    1.28 +<body onload="boom();" style="width: 5ch; font-family: monospace; margin: 0;">
    1.29 +<table><tbody><tr><td id="c"></td></tr></tbody></table>
    1.30 +</body>
    1.31 +</html>

mercurial