summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/632781-ref.html
blob: 30b26fa5b33ddd3fe91d2f8d651c3da465b906c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
  <body>
    <div style="width: 120px; height: 120px; overflow: hidden">
      <canvas width="120" height="120" id="c"></canvas>
    </div>
    <script>
      var ctx = document.getElementById("c").getContext("2d");
      ctx.fillStyle = "green";
      ctx.fillRect(0, 0, 120, 120);
    </script>
  </body>
</html>