Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<html>
<body>
<div style="transform:translate(0.4px); opacity:0.999; border-left:1px solid red; width:12px;">
<div style="transform:translate(0.4px); opacity:0.999; border-left:1px solid rgb(0,255,0);">
<canvas width="10" height="10" id="c" style="display:block"></canvas>
</div>
</div>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "black";
ctx.fillRect(0, 0, 10, 10);
</script>
</body>
</html>