layout/reftests/bugs/650228-1.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <body>
     4 <div id="d1" style="width:100px; height:100px; background:lime;"></div>
     5 <div id="d2" style="width:100px; height:100px; background:cyan; opacity:0.8;">Hello Kitty</div>
     6 <script>
     7 var d1 = document.getElementById("d1");
     8 var d2 = document.getElementById("d2");
     9 document.body.offsetTop;
    10 d1.style.height = "150px";
    11 d2.style.opacity = "0.6";
    12 function doTest() {
    13   d1.style.height = "200px";
    14   d2.style.opacity = 0.4;
    15   document.documentElement.removeAttribute("class");
    16 }
    17 window.addEventListener("MozReftestInvalidate", doTest, false);
    18 </script>
    19 </body>
    20 </html>

mercurial