summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/reflection-repaint-test.html
blob: 366430396166f36b7739ce2e17e7fbf1b4f94428 (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
30
31
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
       function repaintTest()
       {
           document.getElementById("target").innerText = "PASS";
       }
    </script>
    <style type="text/css" media="screen">
      div {
        margin: 50px;
        width: 200px;
        height: 50px;
        border: 1px solid black;
        -webkit-transform-origin: top left;
        transform: rotate(20deg);
        -webkit-box-reflect: below;
      }
      
      div:hover {
        background-color: orange;
      }
    </style>
</head>
<body onload="runRepaintTest();">
    <div id="target">FAIL</div>
</body>
</html>