1224976-1.html (223B)
1 <!DOCTYPE HTML> 2 <canvas id="c"></canvas> 3 <script> 4 var ctx = c.getContext('2d'); 5 ctx.scale(0,1); 6 ctx.fillStyle = "black"; 7 ctx.fillRect(0, 0, 10, 10); 8 ctx.setTransform(1, 0, 0, 1, 0, 0); 9 ctx.fillRect(0, 0, 10, 10); 10 </script>