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

Side by Side Diff: LayoutTests/css3/filters/custom/filter-fallback-to-software.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 old filters are removed from the platform layer when the filters cannot be 3 This tests verifies that the old filters are removed from the platform layer when the filters cannot be
4 rendered in platform code and it fallbacks to render the filters in software . 4 rendered in platform code and it fallbacks to render the filters in software .
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 window.testRunner.waitUntilDone(); 13 window.testRunner.waitUntilDone();
14 } 14 }
15 15
16 function done() 16 function done()
17 { 17 {
18 // After the onload is fired, we know for sure that the shader is lo aded. 18 // After the onload is fired, we know for sure that the shader is lo aded.
19 if (window.testRunner) 19 if (window.testRunner)
20 window.testRunner.notifyDone(); 20 window.testRunner.notifyDone();
21 } 21 }
22 </script> 22 </script>
(...skipping 22 matching lines...) Expand all
45 --> 45 -->
46 <div class="box shader before"></div> 46 <div class="box shader before"></div>
47 <script> 47 <script>
48 // Force a layout. 48 // Force a layout.
49 document.body.clientHeight; 49 document.body.clientHeight;
50 // Having this inline forces the onload event to only fire after the sha der code is loaded. 50 // Having this inline forces the onload event to only fire after the sha der code is loaded.
51 document.querySelector(".before").classList.remove("before"); 51 document.querySelector(".before").classList.remove("before");
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698