layout/reftests/reftest-sanity/zoom-invalidation.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 reftest-zoom="1.5" class="reftest-wait">
     3 <body style="margin:0;">
     4 <div id="d" style="position:absolute; top:15px; left:15px; width:100px; height:100px;"></div>
     5 <script>
     6 function doTest() {
     7   document.getElementById("d").style.background = "yellow";
     8   document.documentElement.removeAttribute('class');
     9 }
    10 document.addEventListener("MozReftestInvalidate", doTest, false);
    11 </script>
    12 </body>
    13 </html>

mercurial