summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/subtree-root-clip.html
blob: 46a2876c632bb88214654db63071b33f91c7c46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML>
<html>
<head>
    <script src="resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.getElementById("inner").style.width = "0";
        }
    </script>
</head>
<body onload="runRepaintTest()">
<div style="float: left; overflow: hidden; width: 100px; height: 100px; background-color: green;">
    <div id="inner" style="width: 100px; height: 100px; background-color: red;"></div>
</div>
</body>
</html>