| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <canvas width="600" height="300" style="border: solid 1px gray"></canvas> | 7 <canvas width="600" height="300" style="border: solid 1px gray"></canvas> |
| 8 <script> | 8 <script> |
| 9 description('Tests that (vertical) shadow offsets are applied correctly when usi
ng fillText() regardless of blur amount.'); | 9 description('Tests that (vertical) shadow offsets are applied correctly when usi
ng fillText() regardless of blur amount.'); |
| 10 var ctx = document.getElementsByTagName('canvas')[0].getContext('2d'); | 10 var ctx = document.getElementsByTagName('canvas')[0].getContext('2d'); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 testWithBlur(1, 150); | 44 testWithBlur(1, 150); |
| 45 testWithBlur(5, 150); | 45 testWithBlur(5, 150); |
| 46 | 46 |
| 47 debug('Testing with scale transform'); | 47 debug('Testing with scale transform'); |
| 48 ctx.scale(1, 2); | 48 ctx.scale(1, 2); |
| 49 testWithBlur(0, 299); | 49 testWithBlur(0, 299); |
| 50 testWithBlur(1, 299); | 50 testWithBlur(1, 299); |
| 51 testWithBlur(5, 299); | 51 testWithBlur(5, 299); |
| 52 | 52 |
| 53 </script> | 53 </script> |
| 54 <script src="../js/resources/js-test-post.js"></script> | |
| 55 </body> | 54 </body> |
| 56 </html> | 55 </html> |
| OLD | NEW |