[Mac] Remove backing store for layers that are outside the viewport
[WebKit-https.git] / LayoutTests / compositing / hidpi-absolute-subpixel-positioned-transformed-elements-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests that applying rotation on a subpixel (absolute)positioned box does not change its position/size.</title>
5 <head>
6 <style>
7   div {
8     background: green;
9     width: 9px;
10     height: 9px;
11     position: absolute;
12   }
13 </style>
14 </head>
15 <body>
16 <p id="container"></p>
17 <script>
18   var container = document.getElementById("container");
19   adjustment = 0.1;
20   for (i = 0; i < 10; ++i) {
21     adjustment+=0.1;
22     for (j = 0; j < 10; ++j) {
23       var e = document.createElement("div");
24       e.style.top = (11 * i + j * adjustment) + "px";
25       e.style.left = (11 * j + i * adjustment) + "px";
26       container.appendChild(e);
27     }
28   }
29 </script>
30 </body>
31 </html>