423953d75d8e47b909faf20d248bec81984567e7
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / squash-onto-nephew-subpixel-3-expected.html
1 <!DOCTYPE html>
2 <head>
3 <style>
4 .composited {
5 -webkit-transform: translatez(0);
6 }
7
8 .box {
9   width: 100px;
10   height: 100px;
11 }
12
13 .behind {
14   position: absolute;
15   z-index: 1;
16   top: 100.5px;
17   left: 100px;
18   background-color: blue;
19 }
20
21 .middle {
22   position: absolute;
23   z-index: 1;
24   top: 15.5px;
25   left: 15px;
26   background-color: lime;
27 }
28
29 .middle2 {
30   position: absolute;
31   z-index: 1;
32   top: 130.5px;
33   left: 60px;
34   background-color: magenta;
35 }
36
37 .top {
38   position: absolute;
39   z-index: 1;
40   top: 70.5px;
41   left: 120px;
42   background-color: cyan;
43 }
44
45 .container {
46   position: absolute;
47   z-index: 1;
48   top: 25px;
49   left: 25px;
50   width: 300px;
51   height: 300px;
52   background-color: gray;
53 }
54
55 div:hover {
56   background-color: green;
57 }
58
59 </style>
60 <script>
61     if (window.internals)
62         internals.settings.setLayerSquashingEnabled(false);
63
64 </script>
65 </head>
66 <body>
67   <div class="container">
68     <div class="composited box behind"></div>
69     <div class="box middle"></div>
70   </div>
71 <div class="box middle2"></div>
72 <div class="box top"></div>
73 </body>