summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/layer-full-repaint.html
blob: c0de5ea9b4ec63dd254c633bc6188b3e33d1c224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13655</title>
    <style type="text/css">
        div {
            position: relative;
            height: 100px;
            width: 100px;
            background-color: red;
        }
        
        div.selected {
            background-color: green;
            text-shadow: red 5px 5px 0;
        }
    </style>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script>
        function repaintTest()
        {
           document.getElementById('test').className = "selected";
        }
    </script>
</head>
<body onload="runRepaintTest();">
        <div id="test"></div>
</body>
</html>