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.

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

mercurial