blob: 5c3e29c0a2f766337667649c2b7977ea9b8e2cb9 [file] [log] [blame]
<html>
<body>
<p>This is a regression test for crbug.com/382588. The test verifies that calling getImageData does not turn off smooth filtering of 2d canvases. Below this text, there should be a black square with tapered edges.</p>
<canvas id="mycanvas" width="100" height="100" style="width:400px; height:400px"></canvas>
<script type="application/x-javascript">
var canvas = document.getElementById("mycanvas");
canvas.getContext("2d").fillRect(25, 25, 50, 50);
</script>
</body>
</html>