layout/reftests/scrolling/layer-change-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <body onload="start()">
     5 <iframe id="i" style="margin-top:100px; width:100%; height:600px;" src="layer-change-1-frame.html"></iframe>
     6 <script>
     7 var subw = document.getElementById("i").contentWindow;
     8 function doTest() {
     9   subw.scrollTo(0,0);
    10   document.documentElement.removeAttribute("class");
    11 }
    12 function start() {
    13   subw.scrollTo(0,2000);
    14 }
    15 window.addEventListener("MozReftestInvalidate", doTest, false);
    16 </script>
    17 </body>
    18 </html>

mercurial