summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/subtree-root-clip-3.html
blob: 756118cd3e9794b05c3dfe20cd7feaa33b2d678e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
    <script src="resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.getElementById("target").style.width = "100px";
        }
    </script>
</head>
<body onload="runRepaintTest()">
<table>
    <tr>
        <td style="height: 200px;"></td>
        <td>
            <div style="height: 100px; width: 100px; overflow: hidden; background-color: red;">
                <div id="target" style="height: 100px; width: 0; background-color: green;"></div>
            </div>
        </td>
    </tr>
</table>
</body>
</html>