layout/reftests/bugs/883568-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 #wrapper {
     6   overflow: hidden;
     7 }
     8 #testDiv1 {
     9   width: 500px;
    10   height: 100px;
    11   position: relative;
    12   overflow: hidden;
    13 }
    14 </style>
    15 <script>
    16 window.addEventListener("MozReftestInvalidate", function() {
    17   testDiv1.style.left = "-500px";
    18   testDiv1.style.transform = "translateX(500px)";
    19   document.documentElement.removeAttribute("class");
    20 }, false);
    21 </script>
    22 </head>
    23 <body>
    24 <div id="wrapper">
    25   <div id="testDiv1" style="background:yellow;"></div>
    26 </div>
    27 </body>
    28 </html>

mercurial