Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / transform-relative-position.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4   <title>Relative Position Transform Redraw</title>
5   <meta http-equiv="content-type" content="text/html; charset=utf-8">
6   <style type="text/css">
7     #box {
8       position:relative;
9       top: 100px;
10       left: 100px;
11       height: 200px;
12       width: 200px;
13       background-color: #CCC;
14       border: 1px solid black;
15       transform: rotate(0deg);
16     }
17
18     #box.rotated {
19       transform: rotate(45deg);
20     }
21   </style>
22   <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
23   <script type="text/javascript" charset="utf-8">
24     function repaintTest()
25     {
26       document.getElementById('box').className = 'rotated';
27     }
28   </script>
29 </head>
30 <body onload="runRepaintTest()">
31   <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=17840">https://bugs.webkit.org/show_bug.cgi?id=17840</a>. The rotated box should be correctly redrawn.</p>
32   <div id="box">
33   </div>
34 </body>
35 </html>