1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/scrolling/iframe-border-radius-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 +<body> 1.7 +<iframe src="data:text/html,<body style='font-size:100px; overflow:hidden; background:white;'><p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty" 1.8 + id="f" style="width:500px; height:500px; border-radius:100px; border:none;"></iframe> 1.9 +<script> 1.10 +var f = document.getElementById("f"); 1.11 +function doTest() { 1.12 + f.contentWindow.scrollTo(0, 80); 1.13 + document.documentElement.removeAttribute('class'); 1.14 +} 1.15 +document.addEventListener("MozReftestInvalidate", doTest, false); 1.16 +</script> 1.17 +</body> 1.18 +</html>