blob: e3c917219325044329890c2ae7d0ce4d1c2e30a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE HTML>
<html>
<body>
<div style="opacity:0.999;">
<canvas id="c" width="200" height="20" style="position:absolute; top:10.4px; left:0; border:1px solid black"></canvas>
</div>
<div style="position:absolute; top:10px; left:0; width:200px; height:19px;
opacity:0.999; border:1px solid black; border-top:2px solid black; background-color:white"></div>
<script>
var c = document.getElementById("c");
var ctx = c.getContext("2d");
ctx.fillStyle = "black";
ctx.fillRect(0, 0, 200, 1);
</script>
</body>
</html>
|