blob: 82e78b483f40639bf3ee1340b2c773217f22a129 [file] [log] [blame]
<html>
<head>
<style>
body {
overflow: hidden;
background-color: green;
}
iframe {
position: absolute;
width: 400px;
height: 400px;
left: 0px;
top: 200px;
border: 0px;
}
</style>
<script>
function runTest() {
var iframe = document.getElementsByTagName("iframe")[0];
iframe.contentWindow.scrollTo(0, 250);
}
if (window.testRunner)
testRunner.dumpAsText(true);
window.addEventListener("load", runTest, false);
</script>
</head>
<body>
<iframe src="resources/has-composited-iframe-child.html"></iframe>
</body>
</html>