layout/reftests/canvas/transformed-clip-ref.html

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:ef604643b84d
1 <html>
2 <body>
3 <canvas width="500" height="500"></canvas>
4 <script>
5 var canvas = document.getElementsByTagName('canvas')[0];
6 var ctx = canvas.getContext('2d');
7
8 ctx.fillStyle = "red";
9 ctx.beginPath();
10 ctx.rect(250, 250, 50, 50);
11 ctx.clip();
12 ctx.fillRect(0,0,500,500);
13 </script>
14 </body>
15 </html>

mercurial