Hi,
I attempted to load a simple HTML file into a canvas (browser = ff 3.66).
var canvas= document.getElementById('oneElement');
var ctx= canvas.getContext('2d');
var img= new Image();
ctx.drawImage(img, 0, 0, img.width, img.height);
img.src = 'data:text/html,<table><tr><td>data 1<td>data 2</td></tr>
<tr><td>data 3><td>data 4</td></tr>
<tr><td>data 5><td>data 6</td></tr>
</table>
';
How? Thanks.