comparison: content/canvas/crashtests/896047-2.html
content/canvas/crashtests/896047-2.html
- branch
- TOR_BUG_9701
- changeset 11
- deefc01c0e14
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <body> |
|
4 <canvas id="c" width="200" height="100"> |
|
5 </canvas> |
|
6 <script> |
|
7 var ctx = document.getElementById("c").getContext("2d"); |
|
8 ctx.save(); |
|
9 ctx.mozFillRule = 'nonzero'; |
|
10 ctx.save(); |
|
11 ctx.mozFillRule = 'evenodd'; |
|
12 ctx.rect(0,0, 1,1); |
|
13 ctx.restore(); |
|
14 ctx.isPointInPath(0,0); |
|
15 ctx.restore(); |
|
16 ctx.lineTo(10, 0); |
|
17 </script> |
|
18 </body> |
|
19 </html> |