1183363.html (364B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script> 5 6 function boom() 7 { 8 var ctx = canvas.getContext('2d'); 9 ctx.rect(2, 6, 9, 8); 10 ctx.setTransform(1, 2, 3, 0, 4, 1); 11 setTimeout(function() { 12 ctx.moveTo(0, 1); 13 ctx.isPointInPath(0, 0, 'evenodd'); 14 }, 0); 15 } 16 17 </script> 18 </head> 19 20 <body onload="boom();"> 21 <canvas id="canvas"></canvas> 22 </body> 23 </html>