[Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointereven...
[WebKit-https.git] / LayoutTests / compositing / hidpi-box-positioned-off-by-one-when-non-compositing-transform-is-present-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests if flooring the transformed boxes' coordinates produce the same result as if compositing transform is present.</title>
5 <head>
6 <style>
7   div {
8     background: green;
9     width: 5px;
10     height: 5px;
11     position: absolute;
12     -webkit-transform: rotate3D(0, 0, 0, 0deg);
13   }
14 </style>
15 </head>
16 <body>
17 <p id="container"></p>
18 <script>
19   var container = document.getElementById("container");
20   for (i = 0; i < 40; ++i) {
21     adjustment = 0.25;
22     for (j = 0; j < 40; ++j) {
23       var e = document.createElement("div");
24       e.style.top = (i * 5 + adjustment) +  "px";
25       e.style.left = ( j * 5 + adjustment) + "px";
26       container.appendChild(e);
27       adjustment+=0.05;
28     }
29   }
30 </script>
31 </body>
32 </html>