layout/generic/crashtests/379917-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/379917-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" 
     1.5 +      xmlns:math="http://www.w3.org/1998/Math/MathML"
     1.6 +      class="reftest-wait">
     1.7 +<head>
     1.8 +<script>
     1.9 +
    1.10 +// This testcase uses long timeouts to make sure the marquee has a chance to animate.
    1.11 +
    1.12 +function boom()
    1.13 +{
    1.14 +  var div1 = document.getElementById("div1");
    1.15 +  var marquee = document.getElementById("marquee");
    1.16 +
    1.17 +  div1.parentNode.removeChild(div1);
    1.18 +  marquee.width = 4;
    1.19 +  
    1.20 +  setTimeout(done, 100);
    1.21 +}
    1.22 +
    1.23 +function done()
    1.24 +{
    1.25 +  document.documentElement.removeAttribute("class");
    1.26 +}
    1.27 +
    1.28 +</script>
    1.29 +</head>
    1.30 +
    1.31 +<body onload="setTimeout(boom, 100);">
    1.32 +
    1.33 +<math:math><div id="div1"/>x&#1506;</math:math>
    1.34 +<marquee id="marquee">m</marquee>
    1.35 +<div/>
    1.36 +
    1.37 +</body>
    1.38 +</html>

mercurial