[Mac] Remove backing store for layers that are outside the viewport
[WebKit-https.git] / LayoutTests / compositing / hidpi-compositing-vs-non-compositing-check-on-testing-framework.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests that hidpi content with compositing layers matches non-compositing drawing in DumpRenderTree/WebKitTestRunner context</title>
5 <style>
6   div {
7     border: green solid 0.5px;
8     width: 10px;
9     height: 10px;
10     position: absolute;
11     -webkit-transform: rotate3D(0, 0, 1, 90deg);
12   }
13 </style>
14 </head>
15 <body>
16 <p id="container"></p>
17 <script>
18   var container = document.getElementById("container");
19   adjustment = 0;
20   for (i = 0; i < 15; ++i) {
21     adjustment+=0.5;
22     for (j = 0; j < 15; ++j) {
23       var e = document.createElement("div");
24       e.style.top = (22 * i + j * adjustment) + "px";
25       e.style.left = (22 * j + i * adjustment) + "px";
26       container.appendChild(e);
27     }
28   }
29 </script>
30 </body>
31 </html>