Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: LayoutTests/css3/filters/direct-image-dynamic-filter.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 .composited { 4 .composited {
5 -webkit-transform: translateZ(0); 5 transform: translateZ(0);
6 } 6 }
7 .filter { 7 .filter {
8 -webkit-filter: invert(100%); 8 -webkit-filter: invert(100%);
9 } 9 }
10 </style> 10 </style>
11 11
12 <!-- There should be a bright pink box on this page --> 12 <!-- There should be a bright pink box on this page -->
13 <body> 13 <body>
14 <img class="composited" onload="load(this)" src="../../fast/images/resources/g reen-256x256.jpg"> 14 <img class="composited" onload="load(this)" src="../../fast/images/resources/g reen-256x256.jpg">
15 </body> 15 </body>
16 16
17 <script> 17 <script>
18 function load(element) { 18 function load(element) {
19 element.classList.add('filter'); 19 element.classList.add('filter');
20 setTimeout(done, 0); 20 setTimeout(done, 0);
21 } 21 }
22 22
23 function done() { 23 function done() {
24 if (window.testRunner) 24 if (window.testRunner)
25 testRunner.notifyDone(); 25 testRunner.notifyDone();
26 } 26 }
27 27
28 if (window.testRunner) { 28 if (window.testRunner) {
29 testRunner.waitUntilDone(); 29 testRunner.waitUntilDone();
30 } 30 }
31 </script> 31 </script>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/crash-hw-sw-switch.html ('k') | LayoutTests/css3/filters/direct-image-dynamic-filter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698