| <!DOCTYPE html> | |
| <html class="reftest-wait"> | |
| <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> | |
| <title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title> | |
| <meta charset="utf-8" /> | |
| <link rel="help" href="https://gpuweb.github.io/gpuweb/" /> | |
| <meta | |
| name="assert" | |
| content="WebGPU canvas should have correct orientation, components, scaling, filtering, color space" | |
| /> | |
| <link rel="match" href="./ref/canvas_composite_alpha_opaque-ref.html" /> | |
| <style> | |
| body { background-color: #F0E68C; } | |
| #c-canvas { background-color: #8CF0E6; } | |
| </style> | |
| <canvas id="c-body" width="20" height="20" style="width: 20px; height: 20px;"></canvas> | |
| <canvas id="c-canvas" width="20" height="20" style="width: 20px; height: 20px;"></canvas> | |
| <script type="module"> | |
| import { run } from './canvas_composite_alpha.html.js'; | |
| run('bgra8unorm', 'opaque', 'copy'); | |
| </script> | |
| </html> |