blob: c9483ca4e2b137964d1fc507cb00982185c27425 [file] [log] [blame]
<html>This test should scroll recursively to reveal the button.
<body onload="document.getElementById('fr').contentDocument.getElementById('bt').focus(); notifyDoneSync();">
<script>
if (window.testRunner) {
testRunner.dumpChildFrameScrollPositions();
testRunner.waitUntilDone();
}
function notifyDoneSync()
{
if (!window.testRunner)
return;
setTimeout(() => testRunner.notifyDone(), 0);
}
</script>
<div style="height:500px"></div>
<iframe src="resources/scrollButton1.html" id="fr" name="fr"></iframe>
<div style="height:500px"></div>
</body>
</html>