1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/555388-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html> 1.5 + <head> 1.6 + <script type="application/javascript"> 1.7 +function draw() { 1.8 + var canvas = document.getElementById("canvas"); 1.9 + var ctx = canvas.getContext("2d"); 1.10 + 1.11 + ctx.fillStyle = "red"; 1.12 + ctx.beginPath(); 1.13 + ctx.moveTo(0, 0); 1.14 + ctx.lineTo(300, 0); 1.15 + ctx.lineTo(300, 300); 1.16 + ctx.lineTo(0, 300); 1.17 + ctx.lineTo(0, 0); 1.18 + ctx.moveTo(30, 30); 1.19 + ctx.lineTo(30, 150); 1.20 + ctx.lineTo(150, 150); 1.21 + ctx.lineTo(149, 30); 1.22 + ctx.lineTo(30, 30); 1.23 + ctx.fill(); 1.24 +} 1.25 + </script> 1.26 + </head> 1.27 +<body onload="draw()"> 1.28 + <canvas id="canvas" width="300" height="300"></canvas> 1.29 +</body> 1.30 +</html>