Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / bug382588.html
blobab9aa5c07628a80d699711794fe60f3c2f96956c
1 <html>
2 <body>
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 var ctx = canvas.getContext("2d");
8 if (window.testRunner)
9 testRunner.waitUntilDone();
10 window.requestAnimationFrame(function() {
11 ctx.fillRect(25, 25, 50, 50);
12 window.requestAnimationFrame(function() {
13 ctx.getImageData(0, 0, 1, 1);
14 if (window.testRunner)
15 testRunner.notifyDone();
18 </script>
19 </body>
20 </html>