layout/reftests/bugs/902330-1-ref.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:6f8bf9e89ea6
1 <html>
2 <head>
3 <style>
4 canvas {
5 position: absolute;
6 top: 100px;
7 left: 100px;
8 width: 300px;
9 height: 300px;
10 }
11 </style>
12 </head>
13 <body>
14 <canvas id="c" height="300px" width="300px"></canvas>
15 <script>
16 var c = document.getElementById('c');
17 var ctxt = c.getContext('2d');
18 ctxt.fillStyle = 'rgb(0,255,0)';
19 ctxt.fillRect(0, 0, 300, 300);
20 ctxt.fillStyle = 'rgba(255,255,255,0.5)';
21 ctxt.fillRect(100, 100, 100, 100);
22 </script>
23 </body>
24 </html>

mercurial