Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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>