layout/generic/crashtests/786740-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/786740-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<style>
     1.8 +#d {
     1.9 +  transition:opacity 1s;
    1.10 +}
    1.11 +#p {
    1.12 +  position:absolute;
    1.13 +}
    1.14 +</style>
    1.15 +</head>
    1.16 +<body>
    1.17 +<div id="d">
    1.18 +  Hello
    1.19 +  <span id="s"><div id="p">Kitty</div></span>
    1.20 +</div>
    1.21 +<script>
    1.22 +var d = document.getElementById("d");
    1.23 +d.getBoundingClientRect();
    1.24 +d.style.opacity = 0.3;
    1.25 +window.addEventListener("MozReftestInvalidate",
    1.26 +  function() {
    1.27 +    setTimeout(function() {
    1.28 +      document.body.removeChild(d);
    1.29 +      document.documentElement.removeAttribute("class");
    1.30 +    }, 50);
    1.31 +  }, false);
    1.32 +</script>
    1.33 +</body>
    1.34 +</html>

mercurial