Clean up css3/filters/backdrop/dynamic-with-clip-path.html
[WebKit-https.git] / LayoutTests / css3 / filters / backdrop / dynamic-with-clip-path.html
1 <!DOCTYPE html>
2 <style>
3     #box {
4         position: absolute;
5         width: 200px;
6         height: 200px;
7         background-color: green;
8     }
9     #filter {
10         position: absolute;
11         width: 200px;
12         height: 200px;
13         transform: translateZ(0);
14         -webkit-clip-path: circle(80px at 100px);
15     }
16     .backdrop {
17         -webkit-backdrop-filter: invert();
18     }
19 </style>
20 <div id="box"></div>
21 <div id="filter"></div>
22 <script>
23     if (window.testRunner)
24         testRunner.waitUntilDone();
25     setTimeout(function() {
26         document.getElementById("filter").classList.add("backdrop");
27         if (window.testRunner)
28             testRunner.notifyDone();
29     }, 0);
30 </script>