summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html
blob: 49e48d7d29f8bc56cddb6b6c5e412d166e72648b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
<body style="zoom: 1.5">
  <p>An all green square should appear below</p>
  <canvas id="A" width=300 height=300></canvas>
  <script type="text/javascript" charset="utf-8">
    var context = document.getElementById("A").getContext("2d");
    context.fillStyle = 'green';
    context.fillRect(1, 1, 298, 298);   
  </script>
</body>
</html>