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

Side by Side Diff: LayoutTests/fast/canvas/2d.composite.globalAlpha.fillPath.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « LayoutTests/fast/box-sizing/table-cell.html ('k') | LayoutTests/fast/canvas/alpha.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <!-- Test based on that found at 2 <!-- Test based on that found at
3 http://http://philip.html5.org/tests/canvas/suite/tests/index.2d.composite. globalAlpha.html 3 http://http://philip.html5.org/tests/canvas/suite/tests/index.2d.composite. globalAlpha.html
4 --> 4 -->
5 <html> 5 <html>
6 <head> 6 <head>
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../js/resources/js-test-pre.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <canvas id="canvas" width="100" height="100"></canvas> 10 <canvas id="canvas" width="100" height="100"></canvas>
(...skipping 12 matching lines...) Expand all
23 ctx.fillStyle = '#0f0'; 23 ctx.fillStyle = '#0f0';
24 ctx.fillRect(0, 0, 100, 100); 24 ctx.fillRect(0, 0, 100, 100);
25 ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations 25 ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
26 ctx.beginPath(); 26 ctx.beginPath();
27 ctx.fillStyle = '#f00'; 27 ctx.fillStyle = '#f00';
28 ctx.rect(0, 0, 100, 100); 28 ctx.rect(0, 0, 100, 100);
29 ctx.fill(); 29 ctx.fill();
30 assertPixelApprox(ctx, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); 30 assertPixelApprox(ctx, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
31 31
32 </script> 32 </script>
33 <script src="../js/resources/js-test-post.js"></script>
34 </body> 33 </body>
35 </html> 34 </html>
36 35
OLDNEW
« no previous file with comments | « LayoutTests/fast/box-sizing/table-cell.html ('k') | LayoutTests/fast/canvas/alpha.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698