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

Side by Side Diff: LayoutTests/css3/filters/custom/custom-filter-composite-source-atop.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Tests the source-atop composite operator with the normal blend mode.< /title> 4 <title>Tests the source-atop composite operator with the normal blend mode.< /title>
5 <!-- 5 <!--
6 This test mimics the source-atop example image in the Compositing and Bl ending spec: 6 This test mimics the source-atop example image in the Compositing and Bl ending spec:
7 https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#porterduf fcompositingoperators_srcatop 7 https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#porterduf fcompositingoperators_srcatop
8 8
9 If it passes, you should see a yellow square with a blue square in its l ower right corner. 9 If it passes, you should see a yellow square with a blue square in its l ower right corner.
10 This should be in the upper left corner of a white box with a black bord er. 10 This should be in the upper left corner of a white box with a black bord er.
11 --> 11 -->
12 <script> 12 <script>
13 if (window.testRunner) { 13 if (window.testRunner) {
14 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1"); 14 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1");
15 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); 15 window.testRunner.overridePreference("WebKitWebGLEnabled", "1");
16 window.testRunner.dumpAsText(true); 16 window.testRunner.dumpAsTextWithPixelResults();
17 } 17 }
18 </script> 18 </script>
19 <style> 19 <style>
20 /* Draws a black border around the shaded destination div. */ 20 /* Draws a black border around the shaded destination div. */
21 #border-container { 21 #border-container {
22 width: 200px; 22 width: 200px;
23 height: 200px; 23 height: 200px;
24 border: 1px solid black; 24 border: 1px solid black;
25 } 25 }
26 /* The shaded div. */ 26 /* The shaded div. */
(...skipping 15 matching lines...) Expand all
42 </head> 42 </head>
43 <body> 43 <body>
44 <div id="border-container"> 44 <div id="border-container">
45 <div id="destination"> 45 <div id="destination">
46 <div id="destination-opaque-child"> 46 <div id="destination-opaque-child">
47 </div> 47 </div>
48 </div> 48 </div>
49 </div> 49 </div>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698