Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<html>
<body>
<canvas id="c" width="200" height="20" style="position:absolute; top:10.4px; left:0"></canvas>
<script>
var c = document.getElementById("c");
var ctx = c.getContext("2d");
ctx.fillStyle = "black";
ctx.fillRect(0, 0, 200, 1);
</script>
</body>
</html>