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 with clipped regions."); | 8 description("Series of tests to ensure correct results on applying diffe
rent blend modes when drawing with clipped regions."); |
9 | 9 |
10 var context; | 10 var context; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 context.globalCompositeOperation = blendModes[i]; | 51 context.globalCompositeOperation = blendModes[i]; |
52 drawSourceColorInContext(context); | 52 drawSourceColorInContext(context); |
53 checkBlendModeResult(i, context, sigma); | 53 checkBlendModeResult(i, context, sigma); |
54 context.restore(); | 54 context.restore(); |
55 debug(''); | 55 debug(''); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 runTest(); | 59 runTest(); |
60 </script> | 60 </script> |
61 <script src="../js/resources/js-test-post.js"></script> | |
62 </body> | 61 </body> |
63 </html> | 62 </html> |
OLD | NEW |