Compute accurate regions for touch-action
[WebKit-https.git] / LayoutTests / compositing / hidpi-composited-container-and-graphics-layer-gap-changes-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests when the gap between the graphics layer and its associated renderer changes dynamically.</title>
5 <style>
6 div {
7   width: 20px;
8   height: 20px;
9   background-color: green;
10   position: absolute;
11 }
12 </style>
13 </head>
14 <body>
15 <p id="container"></p>
16 <script>
17   var subpixel = 0;
18   var container = document.getElementById("container");
19   for (i = 0; i < 20; ++i) {
20     for (j = 0; j < 20; ++j) {
21       var outer = document.createElement("div");
22       outer.style.top = 25 * i + subpixel + "px";
23       outer.style.left = 25 * j + subpixel + "px";
24       container.appendChild(outer);
25       subpixel += 0.1;
26     }
27   }
28 </script>
29 </body>
30 </html>