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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-composited-fallback.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, 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 This tests verifies that filters work even on composited layers that fallbac k to rendering in software. 3 This tests verifies that filters work even on composited layers that fallbac k to rendering in software.
4 NOTE: It is using the fact that Safari can draw drop-shadows in GPU only if the filter is the last one in the filter chain. 4 NOTE: It is using the fact that Safari can draw drop-shadows in GPU only if the filter is the last one in the filter chain.
5 You should see three green rectangles slightly rotated and blurred. There sh ould be no red. 5 You should see three green rectangles slightly rotated and blurred. There sh ould be no red.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <style> 9 <style>
10 .box { 10 .box {
(...skipping 16 matching lines...) Expand all
27 margin: 50px; 27 margin: 50px;
28 -webkit-filter: drop-shadow(0px 0px 1px blue) blur(5px); 28 -webkit-filter: drop-shadow(0px 0px 1px blue) blur(5px);
29 width: 0px; 29 width: 0px;
30 height: 0px; 30 height: 0px;
31 } 31 }
32 </style> 32 </style>
33 33
34 <script src="../../fast/repaint/resources/repaint.js"></script> 34 <script src="../../fast/repaint/resources/repaint.js"></script>
35 <script> 35 <script>
36 if (window.testRunner) 36 if (window.testRunner)
37 testRunner.dumpAsText(true); 37 testRunner.dumpAsTextWithPixelResults();
38 38
39 function repaintTest() 39 function repaintTest()
40 { 40 {
41 document.querySelector(".before").classList.remove("before"); 41 document.querySelector(".before").classList.remove("before");
42 } 42 }
43 </script> 43 </script>
44 </head> 44 </head>
45 45
46 <body onload="runRepaintTest()"> 46 <body onload="runRepaintTest()">
47 47
48 <div class="blur"> 48 <div class="blur">
49 <div class="box"></div> 49 <div class="box"></div>
50 <div class="box before"></div> 50 <div class="box before"></div>
51 <div class="box"></div> 51 <div class="box"></div>
52 </div> 52 </div>
53 53
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698