layout/generic/crashtests/786740-1.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 #d {
     6   transition:opacity 1s;
     7 }
     8 #p {
     9   position:absolute;
    10 }
    11 </style>
    12 </head>
    13 <body>
    14 <div id="d">
    15   Hello
    16   <span id="s"><div id="p">Kitty</div></span>
    17 </div>
    18 <script>
    19 var d = document.getElementById("d");
    20 d.getBoundingClientRect();
    21 d.style.opacity = 0.3;
    22 window.addEventListener("MozReftestInvalidate",
    23   function() {
    24     setTimeout(function() {
    25       document.body.removeChild(d);
    26       document.documentElement.removeAttribute("class");
    27     }, 50);
    28   }, false);
    29 </script>
    30 </body>
    31 </html>

mercurial