1
<html xmlns=
"http://www.w3.org/1999/xhtml" >
2 <script language=javascript
>
5 var canv = document.getElementById(
"canv");
6 var ctx = canv.getContext(
"2d");
9 //
0 size font shouldn't crash!
10 ctx.font =
"0px Arial";
11 ctx.fillText(
"A",
0,
0);
12 document.documentElement.className =
"";
16 <body onload=
"draw()">
17 <canvas id=
"canv" width=
"5" height=
"5"></canvas>