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

Side by Side Diff: LayoutTests/css3/filters/crash-hw-sw-switch.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 | Annotate | Revision Log
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 -webkit-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(false); 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/crash-filter-change.html ('k') | LayoutTests/css3/filters/custom/custom-filter-color-matrix.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698