mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-17 05:07:10 +00:00
20 lines
445 B
HTML
20 lines
445 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
<script language=javascript>
|
|
|
|
function draw() {
|
|
var canv = document.getElementById("canv");
|
|
var ctx = canv.getContext("2d");
|
|
|
|
ctx.fillStyle = "red";
|
|
// 0 size font shouldn't crash!
|
|
ctx.font = "0px Arial";
|
|
ctx.fillText("A", 0, 0);
|
|
document.documentElement.className = "";
|
|
}
|
|
|
|
</script>
|
|
<body onload="draw()">
|
|
<canvas id="canv" width="5" height="5"></canvas>
|
|
</body>
|
|
</html>
|