2011-12-19 17:31:20 -08:00
|
|
|
<!DOCTYPE HTML>
|
2012-11-21 21:33:33 -08:00
|
|
|
<html class="reftest-wait">
|
|
|
|
<body>
|
|
|
|
<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"
|
2011-12-19 17:31:20 -08:00
|
|
|
id="f" style="width:500px; height:500px; border-radius:100px; border:none;"></iframe>
|
|
|
|
<script>
|
|
|
|
var f = document.getElementById("f");
|
|
|
|
function doTest() {
|
|
|
|
f.contentWindow.scrollTo(0, 80);
|
2012-11-21 21:33:33 -08:00
|
|
|
document.documentElement.removeAttribute('class');
|
2011-12-19 17:31:20 -08:00
|
|
|
}
|
2012-11-21 21:33:33 -08:00
|
|
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
2011-12-19 17:31:20 -08:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|