Don't assert if mix-blend-mode is set to a non-separable blend mode on a composited...
[WebKit-https.git] / LayoutTests / compositing / hidpi-non-simple-compositing-layer-with-fractional-size-and-background.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests that a non simple render backing layer with fractional CSS pixel size paints the background with no cruft.</title>
5 <head>
6 <style>
7   div {
8     background: green; 
9     position: absolute;
10     border: 0.5px solid red;
11     -webkit-transform: translateZ(0);
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   w = 2; h = 2;
21   for (i = 0; i < 30; ++i) {
22     adjustment += 0.1;
23     for (j = 0; j < 40; ++j) {
24       var e = document.createElement("div");
25       e.style.top = ((w + 2) * i + j * adjustment) + "px";
26       e.style.left = ((w + 2) * j + i * adjustment) + "px";
27       e.style.width = w + "px";
28       e.style.height = h + "px";
29       container.appendChild(e);
30       w += 0.01;
31       h += 0.01;
32     }
33   }
34 </script>
35 </body>
36 </html>