mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
18 lines
304 B
HTML
18 lines
304 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<canvas id="c" width="200" height="100">
|
|
</canvas>
|
|
<script>
|
|
var ctx = document.getElementById("c").getContext("2d");
|
|
ctx.save();
|
|
ctx.save();
|
|
ctx.rect(0,0, 1,1);
|
|
ctx.restore();
|
|
ctx.fill('evenodd');
|
|
ctx.restore();
|
|
ctx.lineTo(10, 0);
|
|
</script>
|
|
</body>
|
|
</html>
|