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

Side by Side Diff: LayoutTests/css3/filters/crash-hw-sw-switch.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 <!-- Test passes if doesn't crash. --> 2 <!-- Test passes if doesn't crash. -->
3 <style> 3 <style>
4 .sw { 4 .sw {
5 -webkit-filter: blur(4px); 5 -webkit-filter: blur(4px);
6 } 6 }
7 .hw { 7 .hw {
8 -webkit-filter: blur(3px); 8 -webkit-filter: blur(3px);
9 -webkit-transform:translateZ(0); 9 transform:translateZ(0);
10 } 10 }
11 </style> 11 </style>
12 <img class='sw' src="resources/reference.png"> 12 <img class='sw' src="resources/reference.png">
13 PASS if test does not crash or cause an ASSERT failure. 13 PASS if test does not crash or cause an ASSERT failure.
14 <script> 14 <script>
15 if (window.testRunner) 15 if (window.testRunner)
16 window.testRunner.dumpAsText(); 16 window.testRunner.dumpAsText();
17 // force a layout 17 // force a layout
18 document.body.offsetTop; 18 document.body.offsetTop;
19 var img = document.getElementsByTagName('img')[0]; 19 var img = document.getElementsByTagName('img')[0];
20 img.className = 'hw'; 20 img.className = 'hw';
21 // force a layout 21 // force a layout
22 document.body.offsetTop; 22 document.body.offsetTop;
23 img.className = 'sw'; 23 img.className = 'sw';
24 </script> 24 </script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/composited-reflected.html ('k') | LayoutTests/css3/filters/direct-image-dynamic-filter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698