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

Side by Side Diff: LayoutTests/fast/canvas/canvas-blending-pattern-over-color.html

Issue 58533003: Move fast/js/resources files to resources. (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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 window.jsTestIsAsync = true 7 window.jsTestIsAsync = true
8 </script> 8 </script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <script src="../js/resources/js-test-pre.js"></script> 11 <script src="../../resources/js-test.js"></script>
12 <script type="text/javascript" src="canvas-blending-helpers.js"></script> 12 <script type="text/javascript" src="canvas-blending-helpers.js"></script>
13 <script type="text/javascript"> 13 <script type="text/javascript">
14 14
15 description("Series of tests to ensure correct results on applying diffe rent blend modes when drawing a pattern on top of a color."); 15 description("Series of tests to ensure correct results on applying diffe rent blend modes when drawing a pattern on top of a color.");
16 16
17 var context; 17 var context;
18 function actualColor(x, y) { 18 function actualColor(x, y) {
19 return context.getImageData(x, y, 1, 1).data; 19 return context.getImageData(x, y, 1, 1).data;
20 } 20 }
21 21
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 canvas.width = 10; 54 canvas.width = 10;
55 canvas.height = 10; 55 canvas.height = 10;
56 context = canvas.getContext("2d"); 56 context = canvas.getContext("2d");
57 drawElement(context, 0); 57 drawElement(context, 0);
58 } 58 }
59 59
60 runTest(); 60 runTest();
61 </script> 61 </script>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698