Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / css3 / filters / direct-image-dynamic-filter.html
1 <!DOCTYPE html>
2 <html>
3 <style>
4   .composited {
5     transform: translateZ(0);
6   }
7   .filter {
8     -webkit-filter: invert(100%);
9   }
10 </style>
11
12 <!-- There should be a bright pink box on this page -->
13 <body>
14   <img class="composited" onload="load(this)" src="../../fast/images/resources/green-256x256.jpg">
15 </body>
16
17 <script>
18 function load(element) {
19   element.classList.add('filter');
20   setTimeout(done, 0);
21 }
22
23 function done() {
24   if (window.testRunner)
25     testRunner.notifyDone();
26 }
27
28 if (window.testRunner) {
29   testRunner.waitUntilDone();
30 }
31 </script>
32 </html>