diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html new file mode 100644 index 0000000000..b1d46c108a --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/cts/web_platform/reftests/ref/canvas_complex-ref.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> + <title>WebGPU canvas_complex (ref)</title> + <meta charset="utf-8" /> + <link rel="help" href="https://gpuweb.github.io/gpuweb/" /> + <canvas id="cvs0" width="20" height="20" style="width: 20px; height: 20px;"></canvas> + <canvas id="cvs1" width="20" height="20" style="width: 20px; height: 20px;"></canvas> + <canvas id="cvs2" width="20" height="20" style="width: 20px; height: 20px;"></canvas> + <script> + function draw(ctx) { + ctx.fillStyle = '#660000'; + ctx.fillRect(0, 0, 10, 10); + ctx.fillStyle = '#006600'; + ctx.fillRect(10, 0, 10, 10); + ctx.fillStyle = '#000066'; + ctx.fillRect(0, 10, 10, 10); + ctx.fillStyle = '#666600'; + ctx.fillRect(10, 10, 10, 10); + } + + draw(cvs0.getContext('2d')); + draw(cvs1.getContext('2d')); + draw(cvs2.getContext('2d')); + + </script> +</html> |