layout/reftests/border-radius/scroll-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 <script>
     5 function scrollTo(v) {
     6   var d = document.getElementById("d");
     7   d.scrollTop = v;
     8   if (v < 100) {
     9     setTimeout(function() { scrollTo(v + 50); }, 400);
    10   } else {
    11     document.documentElement.removeAttribute("class");
    12   }
    13 }
    14 </script>
    15 </head>
    16 <body onload="scrollTo(0)">
    17 <div style="border-radius:100px; width:300px; height:300px; overflow:hidden;" id="d">
    18   <div style="height:1000px;">
    19     <div style="margin-top:100px; height:20px; background:blue;"></div>
    20   </div>
    21 </div>
    22 </body>
    23 </html>

mercurial