1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/border-radius/scroll-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 +function scrollTo(v) { 1.9 + var d = document.getElementById("d"); 1.10 + d.scrollTop = v; 1.11 + if (v < 100) { 1.12 + setTimeout(function() { scrollTo(v + 50); }, 400); 1.13 + } else { 1.14 + document.documentElement.removeAttribute("class"); 1.15 + } 1.16 +} 1.17 +</script> 1.18 +</head> 1.19 +<body onload="scrollTo(0)"> 1.20 +<div style="border-radius:100px; width:300px; height:300px; overflow:hidden;" id="d"> 1.21 + <div style="height:1000px;"> 1.22 + <div style="margin-top:100px; height:20px; background:blue;"></div> 1.23 + </div> 1.24 +</div> 1.25 +</body> 1.26 +</html>