blob: 4a0a0a0149efc4919c1a921557fd72a35ecdbdaf [file] [log] [blame]
<!DOCTYPE html>
<html>
<body onLoad="runTest();">
<iframe id="nestingFrame" src="resources/1-nested-frame-noncomposited-expected.html" style="position: relative; left: 10px; top: 10px; width: 450px; height: 150px;"></iframe>
<div style="position: relative; left: 10px; top: 20px; will-change: transform;">
This test is successful if "Target Link" is covered by a green box with square corners,
and the inner frame is partially scrolled.
</div>
<script>
function runTest() {
var nestingFrame = document.getElementById('nestingFrame');
var targetFrame = nestingFrame.contentDocument.getElementById('targetFrame');
targetFrame.contentWindow.scrollTo(0, 20);
}
</script>
</body>
</html>