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 globalAlpha is set."); | 8 description("Series of tests to ensure correct results on applying diffe
rent blend modes when globalAlpha is set."); |
9 | 9 |
10 var context; | 10 var context; |
(...skipping 27 matching lines...) Expand all Loading... |
38 context.globalAlpha = 0.1; | 38 context.globalAlpha = 0.1; |
39 drawSourceColorInContext(context); | 39 drawSourceColorInContext(context); |
40 checkBlendModeResult(i, context, sigma); | 40 checkBlendModeResult(i, context, sigma); |
41 context.restore(); | 41 context.restore(); |
42 debug(''); | 42 debug(''); |
43 } | 43 } |
44 } | 44 } |
45 | 45 |
46 runTest(); | 46 runTest(); |
47 </script> | 47 </script> |
48 <script src="../js/resources/js-test-post.js"></script> | |
49 </body> | 48 </body> |
50 </html> | 49 </html> |
OLD | NEW |