Don't assert if mix-blend-mode is set to a non-separable blend mode on a composited...
[WebKit-https.git] / LayoutTests / compositing / cliprect-and-position-change-on-compositing-layer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This test that compositing layers get repainted properly when cliprect is applied with position change.</title>
5 <style>
6   #foo {
7     position: absolute;
8     top: 0px;
9     left: 0px;
10     width: 100px;
11     height: 100px;
12     background-color: green;
13     clip: rect(70px, 102px, 102px, -1px);
14     -webkit-transform: translateZ(0);
15 }
16 </style>
17 </head> 
18 <body>     
19 <div id=foo></div>      
20 <script>
21   if (window.testRunner)
22     testRunner.waitUntilDone();
23
24   setTimeout(function() { 
25     var box = document.getElementById("foo");
26     box.style.clip = "rect(0px, 102px, 202px, 0px)";
27     box.style.top = "1px";
28     box.offsetHeight;
29     
30   if (window.testRunner)
31     testRunner.notifyDone();
32   }, 0);
33 </script>
34 </body>
35 </html>