summaryrefslogtreecommitdiffstats
path: root/gfx/tests/reftest/1801588-1-ref.html
blob: d23c2e67c23bd5ebbbc7d8729c5b4f92a7ab63c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
  <body>
    <canvas id="canvas" width="100" height="100"></canvas>
    <script>
  var c = document.getElementById("canvas");
  var ctx = c.getContext("2d");
  ctx.globalCompositeOperation = "copy";
  ctx.fillStyle = "green";
  ctx.fillRect(0, 0, 50, 50);
    </script>
  </body>
</html>