3 <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>
4 <canvas id=
"mycanvas" width=
"100" height=
"100" style=
"width:400px; height:400px"></canvas>
5 <script type=
"application/x-javascript">
6 var canvas = document.getElementById(
"mycanvas");
7 canvas.getContext(
"2d").fillRect(
25,
25,
50,
50);