зеркало из https://github.com/mozilla/gecko-dev.git
12 строки
284 B
HTML
12 строки
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>
|