Ben Clayton | 55aa801 | 2023-01-07 23:10:08 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html class="reftest-wait"> |
| 3 | <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> |
| 4 | <title>WebGPU canvas_image_rendering</title> |
| 5 | <meta charset="utf-8" /> |
| 6 | <link rel="help" href="https://gpuweb.github.io/gpuweb/" /> |
| 7 | <meta name="assert" content="WebGPU canvas with image-rendering set should be rendered correctly" /> |
| 8 | <link rel="match" href="./ref/canvas_image_rendering-ref.html" /> |
Dawn Automated Expectations | ceaad4f | 2024-01-10 13:14:10 +0000 | [diff] [blame] | 9 | <canvas id="elem1" width="64" height="64" style="width: 128px; height: 128px;"></canvas> |
| 10 | <canvas id="elem2" width="64" height="64" style="width: 128px; height: 128px; image-rendering: pixelated;"></canvas> |
| 11 | <canvas id="elem3" width="64" height="64" style="width: 128px; height: 128px; image-rendering: crisp-edges"></canvas> |
| 12 | <canvas id="elem4" width="64" height="64" style="width: 128px; height: 128px;"></canvas> |
| 13 | <canvas id="elem5" width="64" height="64" style="width: 128px; height: 128px; image-rendering: pixelated;"></canvas> |
| 14 | <canvas id="elem6" width="64" height="64" style="width: 128px; height: 128px; image-rendering: crisp-edges"></canvas> |
Ben Clayton | 55aa801 | 2023-01-07 23:10:08 +0000 | [diff] [blame] | 15 | <script type="module" src="canvas_image_rendering.html.js"></script> |
| 16 | </html> |