[Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointereven...
[WebKit-https.git] / LayoutTests / compositing / hidpi-nested-compositing-layers-with-subpixel-accumulation-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests that nested compositing layers with subpixel accumulation paint to the same position as regular, non-compositing content.</title>
5 <style>
6   div {
7     width: 50px;
8     height: 50px;
9     left: 0px;
10     border: 1px solid;
11     position: absolute;
12   }
13 </style>
14 </head>
15 <body>
16 <p id="container"></p>
17 <script>
18   left = 0;
19   for (i = 0; i < 6; ++i, left+=55.3) {
20     var container = document.getElementById("container");
21     dimension = 50;
22     for (j = 0; j < 10; ++j, dimension+=-4) {
23       var e = document.createElement("div");
24       e.style.top = "1.3px";
25       e.style.width = dimension + "px";
26       e.style.height = dimension + "px";
27       if (j == 0)
28         e.style.left = left + "px";
29       color = (j * 20);
30       e.style.borderColor = "rgb(" + color + ", " +  color + ", " +  color + ")";
31       container.appendChild(e);
32       container = e;
33     }
34   }
35 </script>
36 </body>
37 </html>