OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script type="text/javascript" src="canvas-blending-helpers.js"></script> | 5 <script type="text/javascript" src="canvas-blending-helpers.js"></script> |
6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
7 | 7 |
8 description("Series of tests to ensure correct results on applying diffe
rent blend modes when drawing paths."); | 8 description("Series of tests to ensure correct results on applying diffe
rent blend modes when drawing paths."); |
9 | 9 |
10 var context; | 10 var context; |
(...skipping 26 matching lines...) Expand all Loading... |
37 context.globalCompositeOperation = blendModes[i]; | 37 context.globalCompositeOperation = blendModes[i]; |
38 fillPathWithSourceInContext(context); | 38 fillPathWithSourceInContext(context); |
39 checkBlendModeResult(i, context, sigma); | 39 checkBlendModeResult(i, context, sigma); |
40 context.restore(); | 40 context.restore(); |
41 debug(''); | 41 debug(''); |
42 } | 42 } |
43 } | 43 } |
44 | 44 |
45 runTest(); | 45 runTest(); |
46 </script> | 46 </script> |
47 <script src="../js/resources/js-test-post.js"></script> | |
48 </body> | 47 </body> |
49 </html> | 48 </html> |
OLD | NEW |