| 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 a rectangle with shadow."); | 8 description("Series of tests to ensure correct results on applying diffe
rent blend modes when drawing a rectangle with shadow."); |
| 9 | 9 |
| 10 var context; | 10 var context; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 context.globalCompositeOperation = blendModes[i]; | 44 context.globalCompositeOperation = blendModes[i]; |
| 45 drawSourceColorRectOverShadow(context); | 45 drawSourceColorRectOverShadow(context); |
| 46 checkBlendModeResult(i, context, sigma); | 46 checkBlendModeResult(i, context, sigma); |
| 47 context.restore(); | 47 context.restore(); |
| 48 debug(''); | 48 debug(''); |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 | 51 |
| 52 runTest(); | 52 runTest(); |
| 53 </script> | 53 </script> |
| 54 <script src="../js/resources/js-test-post.js"></script> | |
| 55 </body> | 54 </body> |
| 56 </html> | 55 </html> |
| OLD | NEW |