TransformState::move should not round offset to int
[WebKit-https.git] / LayoutTests / fast / sub-pixel / clip-rect-box-consistent-rounding.html
1 <!DOCTYPE html>
2 <html>
3         <head>
4                 <style type="text/css">
5                         body {
6                                 margin: 8px;
7                                 zoom: 1.25;
8                         }
9                         .main {
10                                 margin: 0 auto;
11                                 width: 500px;
12                                 height: 100px;
13                                 background: black;
14                                 position: relative;
15                         }
16                         .site {
17                                 top: 4px;
18                                 left: 4px;
19                                 width: 186px;
20                                 height: 92px;
21                                 position: absolute;
22                                 overflow: hidden;
23                         }
24                         .desaturated {
25                                 position: absolute;
26                                 width: 200px;
27                                 height: 100px;
28                                 background: white;
29                         }
30                         .infobox {
31                                 position: absolute;
32                                 top: 0;
33                                 left: 0;
34                                 width: 186px;
35                                 height: 50px;
36                                 background: red;
37                         }
38                 </style>
39         </head>
40
41         <body>
42                 <div class="main">
43                         <div class="site">
44                                 <div class="desaturated"></div>
45                                 <div class="infobox"></div>
46                         </div>
47                 </div>
48         </body>
49 </html>