Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / transforms / 2d / transform-origin-borderbox.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2    "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html lang="en">
5 <head>
6   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7   <title>Transform Center with Borders</title>
8   <style type="text/css" media="screen">
9     .container {
10       height: 200px;
11       width: 200px;
12       margin: 30px;
13       outline: 5px solid black;
14       background-color: red;
15     }
16     .box {
17       height: 200px;
18       width: 100px;
19       background-color: green;
20       border-right: 100px solid gray;
21       box-sizing: auto;
22       transform: rotate(90deg);
23     }
24     .border-box {
25       width: 200px;
26       box-sizing: border-box;
27     }
28   </style>
29 </head>
30 <body>
31
32 <p>Tests that origin of rotation is the center of the border box, with and without box-sizing</p>
33   <div class="container">
34     <div class="box">box-sizing: auto</div>
35   </div>
36
37   <div class="container">
38     <div class="box border-box">box-sizing: auto</div>
39   </div>
40 </body>
41 </html>