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

Side by Side Diff: LayoutTests/css3/filters/custom/filter-repaint-custom-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 shader filter is repainted using the full source im age of the element instead of just the dirty area. 3 This tests verifies that shader filter is repainted using the full source im age of the element instead of just the dirty area.
4 Also it tests that the clipping rectangle of the box is not affecting the fi lter. 4 Also it tests that the clipping rectangle of the box is not affecting the fi lter.
5 There should be one light green box on the screen. No red should be visible. 5 There should be one light green box on the screen. No red should be visible.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <script> 9 <script>
10 if (window.testRunner) { 10 if (window.testRunner) {
11 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1"); 11 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1");
12 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); 12 window.testRunner.overridePreference("WebKitWebGLEnabled", "1");
13 window.testRunner.dumpAsText(true); 13 window.testRunner.dumpAsTextWithPixelResults();
14 } 14 }
15 function repaintTest() 15 function repaintTest()
16 { 16 {
17 document.querySelector(".before").classList.remove("before"); 17 document.querySelector(".before").classList.remove("before");
18 } 18 }
19 </script> 19 </script>
20 <style> 20 <style>
21 .clipping_box { 21 .clipping_box {
22 margin: 20px; 22 margin: 20px;
23 width: 100px; 23 width: 100px;
(...skipping 27 matching lines...) Expand all
51 <body onload="runRepaintTest()"> 51 <body onload="runRepaintTest()">
52 52
53 <div class="clipping_box"> 53 <div class="clipping_box">
54 <div class="shader"> 54 <div class="shader">
55 <div class="empty_box"></div> 55 <div class="empty_box"></div>
56 <div class="box before"></div> 56 <div class="box before"></div>
57 </div> 57 </div>
58 </div> 58 </div>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698