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 id="canvas" width="100" height="100"></canvas> | 7 <canvas id="canvas" width="100" height="100"></canvas> |
8 <script> | 8 <script> |
9 description("Bug 105650: Test correct rendering of quadratic and bezier curves w
ith coincident endpoints"); | 9 description("Bug 105650: Test correct rendering of quadratic and bezier curves w
ith coincident endpoints"); |
10 var ctx = document.getElementById('canvas').getContext('2d'); | 10 var ctx = document.getElementById('canvas').getContext('2d'); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 shouldBeYellow(50,0); | 44 shouldBeYellow(50,0); |
45 shouldBeBlue(75,75); | 45 shouldBeBlue(75,75); |
46 | 46 |
47 // bezier curve with coincident endpoints | 47 // bezier curve with coincident endpoints |
48 ctx.bezierCurveTo(200,0,0,200,0,0); | 48 ctx.bezierCurveTo(200,0,0,200,0,0); |
49 ctx.stroke(); | 49 ctx.stroke(); |
50 shouldBeYellow(75,75); | 50 shouldBeYellow(75,75); |
51 | 51 |
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 |