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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-child-layers.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 filter area includes all the child RenderLayers and a pplies the children's transforms correctly. 4 Also it tests that the filter area includes all the child RenderLayers and a pplies the children's transforms correctly.
5 You should see three green rectangles slightly rotated and blured. There sho uld be no red. 5 You should see three green rectangles slightly rotated and blured. There sho uld 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 -webkit-filter: blur(5px); 27 -webkit-filter: blur(5px);
28 z-index: 0; 28 z-index: 0;
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
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-blur.html ('k') | LayoutTests/css3/filters/filter-repaint-composited-fallback.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698