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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-shadow-clipped.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 <!-- 2 <!--
3 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area. 3 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area.
4 Also it tests that the clipping rectangle of the box is not affecting the sh adow. 4 Also it tests that the clipping rectangle of the box is not affecting the sh adow.
5 There should be two boxes on the screen: one blue and one green of same size . No red should be visible. 5 There should be two boxes on the screen: one blue and one green of same size . No red should be visible.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <style> 9 <style>
10 .clipping_box { 10 .clipping_box {
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 31
32 .blur { 32 .blur {
33 -webkit-filter: drop-shadow(0px -100px 0px blue); 33 -webkit-filter: drop-shadow(0px -100px 0px blue);
34 } 34 }
35 </style> 35 </style>
36 36
37 <script src="../../fast/repaint/resources/repaint.js"></script> 37 <script src="../../fast/repaint/resources/repaint.js"></script>
38 <script> 38 <script>
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.dumpAsText(true); 40 testRunner.dumpAsTextWithPixelResults();
41 41
42 function repaintTest() 42 function repaintTest()
43 { 43 {
44 document.querySelector(".before").classList.remove("before"); 44 document.querySelector(".before").classList.remove("before");
45 } 45 }
46 </script> 46 </script>
47 </head> 47 </head>
48 48
49 <body onload="runRepaintTest()"> 49 <body onload="runRepaintTest()">
50 50
51 <div class="clipping_box"> 51 <div class="clipping_box">
52 <div class="blur"> 52 <div class="blur">
53 <div class="empty_box"></div> 53 <div class="empty_box"></div>
54 <div class="box before"></div> 54 <div class="box before"></div>
55 </div> 55 </div>
56 </div> 56 </div>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-shadow.html ('k') | LayoutTests/css3/filters/filter-repaint-shadow-rotated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698