blob: 74053af48447b7ea488f4222719faeeab2213147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE HTML>
<html>
<body>
<div style="-moz-transform:translate(0.4px); opacity:0.999; border-left:1px solid red; width:12px;">
<div style="-moz-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>
|