summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/nested-iframe-scroll-inner.html
blob: 5f49235db7f88951e050af3d92d5a2362b60ed29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
    <link rel="stylesheet" href="resources/default.css">
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.dumpAsTextWithPixelResults();
        function runTest()
        {
            document.getElementById('iframe').contentDocument.getElementById('iframe').contentWindow.scrollTo(200, 200);
        }
    </script>
</head>
<body onload="runTest()">
    <!-- You should 3 non-overlapping rectangle (from left to right): a green, a yellow and a blue. -->
    <iframe id="iframe" src="resources/iframe-outer.html" style="height: 1000px;"></iframe>
</body>
</html>