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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-shadow-rotated.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 or the transform rectangle of the box is not affecting the shadow. 4 Also it tests that the clipping or the transform rectangle of the box is not affecting the shadow.
5 There should be two boxes on the screen: left one should be green and right one should be green, and both have the same size. 5 There should be two boxes on the screen: left one should be green and right one should be green, and both have the same size.
6 No red should be visible. 6 No red should be visible.
7 --> 7 -->
8 <html> 8 <html>
9 <head> 9 <head>
10 <style> 10 <style>
(...skipping 22 matching lines...) Expand all
33 .blur { 33 .blur {
34 -webkit-filter: drop-shadow(0px -100px 0px blue); 34 -webkit-filter: drop-shadow(0px -100px 0px blue);
35 -webkit-transform-origin: 50px 50px; 35 -webkit-transform-origin: 50px 50px;
36 -webkit-transform: rotate(90deg); 36 -webkit-transform: rotate(90deg);
37 } 37 }
38 </style> 38 </style>
39 39
40 <script src="../../fast/repaint/resources/repaint.js"></script> 40 <script src="../../fast/repaint/resources/repaint.js"></script>
41 <script> 41 <script>
42 if (window.testRunner) 42 if (window.testRunner)
43 testRunner.dumpAsText(true); 43 testRunner.dumpAsTextWithPixelResults();
44 44
45 function repaintTest() 45 function repaintTest()
46 { 46 {
47 document.querySelector(".before").classList.remove("before"); 47 document.querySelector(".before").classList.remove("before");
48 } 48 }
49 </script> 49 </script>
50 </head> 50 </head>
51 51
52 <body onload="runRepaintTest()"> 52 <body onload="runRepaintTest()">
53 53
54 <div class="clipping_box"> 54 <div class="clipping_box">
55 <div class="blur"> 55 <div class="blur">
56 <div class="empty_box"></div> 56 <div class="empty_box"></div>
57 <div class="box before"></div> 57 <div class="box before"></div>
58 </div> 58 </div>
59 </div> 59 </div>
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-shadow-clipped.html ('k') | LayoutTests/css3/filters/filter-with-transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698