Bug 1839315: part 4) Link from `SheetLoadData::mWasAlternate` to spec. r=emilio DONTBUILD
[gecko.git] / layout / reftests / canvas / 1074733-1.html
blob6a13bd1b9f3eb39d70ad3dcc53326a8ac848e02d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <script type="text/javascript">
6 function bodyonload() {
7 var canvas=document.getElementById('test');
8 var ctx = canvas.getContext("2d");
9 ctx.fillStyle = 'green';
10 ctx.fillRect(150, 50, -151, 50); // left at -1
11 ctx.fillStyle = 'red';
12 ctx.rect(150, 100, -151, 50); // left at -1
13 ctx.fill();
14 ctx.fillStyle = 'blue';
15 ctx.fillRect(150, 150, -150, 50); // left at 0
17 </script>
18 </head>
19 <body onload="bodyonload();">
20 <canvas id="test" width="200" height="200"></canvas>
21 </body>
22 </html>