| 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="../../resources/js-test.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'); |
| 11 var data; | 11 var data; |
| 12 | 12 |
| 13 function shouldBeYellow(x,y) | 13 function shouldBeYellow(x,y) |
| 14 { | 14 { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 </body> | 54 </body> |
| 55 </html> | 55 </html> |
| OLD | NEW |