blob: 0fa0b6752b9ac389df5532c7d8f646cfb3892c9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE HTML>
<html reftest-zoom="2.0">
<body style="background: black">
<canvas width="100" height="100" id="c"></canvas>
<script type="text/javascript">
var cx = document.getElementById("c").getContext("2d");
cx.fillStyle = "#00ff00";
cx.fillRect(0, 0, 100, 100);
</script>
</body>
</html>
|