mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
12 lines
284 B
HTML
12 lines
284 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<canvas id="c" width="200" height="200" style="border:1px solid black; -moz-transform:scaleY(-1);"></canvas>
|
|
<script>
|
|
var ctx = document.getElementById("c").getContext("2d");
|
|
ctx.fillStyle = "blue";
|
|
ctx.fillRect(0, 0, 200, 50);
|
|
</script>
|
|
</body>
|
|
</html>
|