1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/690643-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<html> 1.5 + <head> 1.6 + </head> 1.7 +<body> 1.8 + <canvas id="canvas" width="300" height="300"></canvas> 1.9 + <script type="application/javascript"> 1.10 + var canvas = document.getElementById("canvas"); 1.11 + var ctx = canvas.getContext("2d"); 1.12 + 1.13 + ctx.fillStyle = '#eeeeee'; 1.14 + ctx.strokeStyle = '#000000'; 1.15 + 1.16 + ctx.beginPath(); 1.17 + ctx.moveTo(0, 50); 1.18 + ctx.lineTo(50, 50); 1.19 + 1.20 + ctx.translate(100, 100); 1.21 + ctx.lineTo(50, 0); 1.22 + 1.23 + ctx.stroke(); 1.24 + ctx.fill(); 1.25 + </script> 1.26 +</body> 1.27 +</html>