summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/overflow-hide.html
blob: 2e906a51acdf6b0ca7b474ff218874279bec43f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
    <link rel="stylesheet" href="resources/default.css">
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.dumpAsTextWithPixelResults();
        function repaintTest()
        {
            document.getElementById('overflowParent').style.overflow = "hidden";
        }
    </script>
</head>
<body style="height:2000px;" onload="runRepaintTest()">
    <!-- You should see 2 green rectangle sharing one corner in the output. -->
    <div id="overflowParent" class="absolute green"><div style="top:100px; left:100px;" class="relative red"></div></div>
</body>
</html>