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

Side by Side Diff: LayoutTests/css3/filters/custom/filter-repaint-custom.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 the shader filter is repainted using the full sourc e image of the element instead of just the dirty area. 3 This tests verifies that the shader filter is repainted using the full sourc e image of the element instead of just the dirty area.
4 There should be 4 boxes of same size. 3 of them are green and the last one o n the right is blue. 4 There should be 4 boxes of same size. 3 of them are green and the last one o n the right is blue.
5 --> 5 -->
6 <html> 6 <html>
7 <head> 7 <head>
8 <script> 8 <script>
9 if (window.testRunner) { 9 if (window.testRunner) {
10 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1"); 10 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1");
11 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); 11 window.testRunner.overridePreference("WebKitWebGLEnabled", "1");
12 window.testRunner.dumpAsText(true); 12 window.testRunner.dumpAsTextWithPixelResults();
13 } 13 }
14 function repaintTest() 14 function repaintTest()
15 { 15 {
16 document.querySelector(".before").classList.remove("before"); 16 document.querySelector(".before").classList.remove("before");
17 } 17 }
18 </script> 18 </script>
19 <style> 19 <style>
20 .box { 20 .box {
21 margin-top: 10px; 21 margin-top: 10px;
22 margin-bottom: 10px; 22 margin-bottom: 10px;
(...skipping 19 matching lines...) Expand all
42 <body onload="runRepaintTest()"> 42 <body onload="runRepaintTest()">
43 43
44 <div class="shader"> 44 <div class="shader">
45 <div class="box"></div> 45 <div class="box"></div>
46 <div class="box before"></div> 46 <div class="box before"></div>
47 <div class="box"></div> 47 <div class="box"></div>
48 </div> 48 </div>
49 49
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698