layout/generic/crashtests/786740-1.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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