layout/reftests/bugs/619117-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 div {
     6   position: absolute;
     7   padding: 2px;
     8   left: 100px;
     9   top: 700px;
    10   width: 100px;
    11   height: 100px;
    12   background: yellow;
    13   -moz-transform: scale(1.5);
    14   transform: scale(1.5);
    15 }
    16 body.toggle div {
    17   -moz-transform: translate(0, -400px);
    18   transform: translate(0, -400px);
    19 }
    20 </style>
    21 </head>
    22 <body>
    23 <div>Hello</div>
    24 <script>
    25 function doTest() {
    26   document.body.setAttribute("class", "toggle");
    27   document.documentElement.removeAttribute("class");
    28 }
    29 window.addEventListener("MozReftestInvalidate", doTest, false);
    30 </script>
    31 </body>
    32 </html>

mercurial