summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/erase-overflow.html
blob: 05f29f8d070b00d57af608bd54e91fbdddf3a09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
    <title>Test for http://bugs.webkit.org/show_bug.cgi?id=11935</title>
    <style type="text/css">
        div.square { width: 100px; height: 100px; }
    </style>
    <script type="text/javascript" src="resources/text-based-repaint.js"></script>
    <script type="text/javascript">
        function repaintTest()
        {
            document.getElementById("target").style.overflow = "hidden";
        }
    </script>
</head>
<body onload="runRepaintTest()">
    <div id="target" class="square">
        <div class="square" style="background-color: green"></div>
        <div class="square" style="background-color: red"></div>
    </div>
</body>
</html>