Roll third_party/webgpu-cts/ e8109c7ca..fdf9e7c12 (4 commits)

Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


https://chromium.googlesource.com/external/github.com/gpuweb/cts/+log/e8109c7cac5b..fdf9e7c12924
 - fdf9e7 shader/expression: Reduce 'const' shader size (#2129)
 - 1c9bc7 Add HTML5 DOCTYPE to all reftests (#2127)
 - 3c6768 op: Add 'index_format,setIndexBuffer_before_setPipeline' test in index_format.spec.ts (#2125)
 - 9e0480 Add a canvas image-rendering wpt ref test (#2119)

Created with './tools/run cts roll'

Change-Id: Iafca73eb1f88b1efd403706db503f0ca191e2069
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116621
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/DEPS b/DEPS
index 6060faa..38bbc1c 100644
--- a/DEPS
+++ b/DEPS
@@ -158,7 +158,7 @@
 
   # WebGPU CTS - not used directly by Dawn, only transitively by Chromium.
   'third_party/webgpu-cts': {
-    'url': '{chromium_git}/external/github.com/gpuweb/cts@e8109c7cac5b96ca739f484ea11579ca902db13d',
+    'url': '{chromium_git}/external/github.com/gpuweb/cts@fdf9e7c12924523eb2784405796646a759e340e7',
     'condition': 'build_with_chromium',
   },
 
diff --git a/third_party/gn/webgpu-cts/test_list.txt b/third_party/gn/webgpu-cts/test_list.txt
index 56f66b0..f2eb546 100644
--- a/third_party/gn/webgpu-cts/test_list.txt
+++ b/third_party/gn/webgpu-cts/test_list.txt
@@ -6149,6 +6149,8 @@
 webgpu:api,operation,vertex_state,index_format:index_format,uint32:
 webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=false
 webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=true
+webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_before_setPipeline:setIndexBufferBeforeSetPipeline=false
+webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_before_setPipeline:setIndexBufferBeforeSetPipeline=true
 webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_different_formats:
 webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="point-list"
 webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="line-list"
diff --git a/third_party/gn/webgpu-cts/ts_sources.txt b/third_party/gn/webgpu-cts/ts_sources.txt
index d2bbef2..1f6240c 100644
--- a/third_party/gn/webgpu-cts/ts_sources.txt
+++ b/third_party/gn/webgpu-cts/ts_sources.txt
@@ -454,6 +454,7 @@
 src/webgpu/web_platform/reftests/canvas_clear.html.ts
 src/webgpu/web_platform/reftests/canvas_complex.html.ts
 src/webgpu/web_platform/reftests/canvas_composite_alpha.html.ts
+src/webgpu/web_platform/reftests/canvas_image_rendering.html.ts
 src/webgpu/web_platform/reftests/canvas_size_different_with_back_buffer_size.html.ts
 src/webgpu/web_platform/worker/worker.spec.ts
 src/webgpu/web_platform/worker/worker.ts
diff --git a/webgpu-cts/expectations.txt b/webgpu-cts/expectations.txt
index e52cdf6..373c450 100644
--- a/webgpu-cts/expectations.txt
+++ b/webgpu-cts/expectations.txt
@@ -60,7 +60,7 @@
 # results: [ Failure RetryOnFailure Skip Slow ]
 # END TAG HEADER
 
-# Last rolled: 2023-01-06 11:15:37AM
+# Last rolled: 2023-01-07 08:07:32PM
 
 ################################################################################
 # copyToTexture failures on Linux
@@ -318,24 +318,12 @@
 crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="DepthTest";format="depth16unorm" [ Failure ]
 crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="StencilTest";format="stencil8" [ Failure ]
 
-
-################################################################################
-# Const-eval functions that fail on inf/nan inputs
-# KEEP
-################################################################################
-crbug.com/tint/1581 webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="const";* [ Failure ]
-
 ################################################################################
 # copyToTexture,canvas:color_space_conversion:* fail with swiftshader
 # The other tests about canvas and image bitmap fail with swiftshader on Linux
 # KEEP
 ################################################################################
 crbug.com/dawn/1599 [ webgpu-adapter-swiftshader ] webgpu:web_platform,copyToTexture,canvas:color_space_conversion:* [ Failure ]
-################################################################################
-
-################################################################################
-
-################################################################################
 
 ################################################################################
 # webgpu:api,operation,render_pass,storeOp:render_pass_store_op,color_attachment_only:* fail on win10 Intel
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_clear.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_clear.https.html
index c346947..b5451756 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_clear.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_clear.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_clear</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_copy.https.html
index ed37906..6ae3a4a 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_bgra8unorm_copy</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_draw.https.html
index 04184cb..d61f43c 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_bgra8unorm_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_bgra8unorm_draw</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_copy.https.html
index 7efd826..63f045f 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba16float_copy</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_draw.https.html
index dbfee75..d9b15fa 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba16float_draw</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_store.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_store.https.html
index c514e41..4ef1609 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_store.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba16float_store.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba16float_store</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_copy.https.html
index e202420..026ce5d 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba8unorm_copy</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_draw.https.html
index 62e7eb3..0fbb5bc 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba8unorm_draw</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_store.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_store.https.html
index e8c6d24..fe68e47 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_store.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_complex_rgba8unorm_store.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex_rgba8unorm_store</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_copy.https.html
index d500ba8..9fe4ecc 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_draw.https.html
index bc0bdbb..d2a8d6d 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_opaque_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_copy.https.html
index a112bf42..27000fc 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_draw.https.html
index 995bf0b..b33b18a 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_bgra8unorm_premultiplied_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_copy.https.html
index b19fa2f..1b5aaea 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba16float_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_draw.https.html
index 35433da..08f5878 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_opaque_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba16float_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_copy.https.html
index 57cf442..ac3cea0 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_draw.https.html
index 85fbdf7..961dfbb 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba16float_premultiplied_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_copy.https.html
index a8c597b..ed5e93d 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_draw.https.html
index 73cb963..a2b1593 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_opaque_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_copy.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_copy.https.html
index b4df76b..15370f2 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_copy.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_copy.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_draw.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_draw.https.html
index fa6467b..b796db4 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_draw.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_composite_alpha_rgba8unorm_premultiplied_draw.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_image_rendering.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_image_rendering.https.html
new file mode 100644
index 0000000..ec23014
--- /dev/null
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_image_rendering.https.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+  <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
+  <title>WebGPU canvas_image_rendering</title>
+  <meta charset="utf-8" />
+  <link rel="help" href="https://gpuweb.github.io/gpuweb/" />
+  <meta name="assert" content="WebGPU canvas with image-rendering set should be rendered correctly" />
+  <link rel="match" href="./ref/canvas_image_rendering-ref.html" />
+  <canvas id="elem1" width="64" height="64" style="width: 99px; height: 99px;"></canvas>
+  <canvas id="elem2" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;"></canvas>
+  <canvas id="elem3" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges"></canvas>
+  <canvas id="elem4" width="64" height="64" style="width: 99px; height: 99px;"></canvas>
+  <canvas id="elem5" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;"></canvas>
+  <canvas id="elem6" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges"></canvas>
+  <script src="/common/reftest-wait.js"></script>
+  <script type="module" src="canvas_image_rendering.html.js"></script>
+</html>
diff --git a/webgpu-cts/webtests/web_platform/reftests/canvas_size_different_with_back_buffer_size.https.html b/webgpu-cts/webtests/web_platform/reftests/canvas_size_different_with_back_buffer_size.https.html
index 80d3fe9..38c2dee 100644
--- a/webgpu-cts/webtests/web_platform/reftests/canvas_size_different_with_back_buffer_size.https.html
+++ b/webgpu-cts/webtests/web_platform/reftests/canvas_size_different_with_back_buffer_size.https.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html class="reftest-wait">
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_back_buffer_different_size</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_clear-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_clear-ref.html
index 9d43d23..68b49ac 100644
--- a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_clear-ref.html
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_clear-ref.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_clear (ref)</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_complex-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_complex-ref.html
index 7616108..059e5a7 100644
--- a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_complex-ref.html
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_complex-ref.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_complex (ref)</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_opaque-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_opaque-ref.html
index 76aa7f8..f837386 100644
--- a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_opaque-ref.html
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_opaque-ref.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_premultiplied (ref)</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_premultiplied-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_premultiplied-ref.html
index 83f5a15..f13e4e1 100644
--- a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_premultiplied-ref.html
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_composite_alpha_premultiplied-ref.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_composite_alpha_premultiplied (ref)</title>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_image_rendering-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_image_rendering-ref.html
new file mode 100644
index 0000000..c3a1277
--- /dev/null
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_image_rendering-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+  <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
+  <title>WebGPU canvas_image_rendering (ref)</title>
+  <meta charset="utf-8" />
+  <link rel="help" href="https://gpuweb.github.io/gpuweb/" />
+  <link rel="match" href="./ref/canvas_image_rendering-ref.html" />
+  <img id="elem1" width="64" height="64" style="width: 99px; height: 99px;">
+  <img id="elem2" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;">
+  <img id="elem3" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges">
+  <img id="elem4" width="64" height="64" style="width: 99px; height: 99px;">
+  <img id="elem5" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;">
+  <img id="elem6" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges">
+  <script>
+    const dataURL = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAKdJREFUeF7t28kJwDAQA0Cp/6I3hJAqNK/kazDr2atJ7u7S9v3Z+76nnz18m7oBboAYIAZMRv//1fMKcAAHkCAJLuYAXoEv8ZMLcAAHcAAHcAAHjBZEOeBSDuAADuAADuAADtjrCqsIqQh98xAkSIIkSIIkSIIkSIKrYzJ6gyRIgiRIgiRIgiRIgiRoZ2hwYcp8gKqwSVF9AXuD9gbtDdobXGWw7nCbB5+MQQlHipKKAAAAAElFTkSuQmCC';
+    document.querySelectorAll('img').forEach(img => img.src = dataURL);
+  </script>
+</html>
diff --git a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_size_different_with_back_buffer_size-ref.html b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_size_different_with_back_buffer_size-ref.html
index 0c4130b..b1f427f 100644
--- a/webgpu-cts/webtests/web_platform/reftests/ref/canvas_size_different_with_back_buffer_size-ref.html
+++ b/webgpu-cts/webtests/web_platform/reftests/ref/canvas_size_different_with_back_buffer_size-ref.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
   <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
   <title>WebGPU canvas_back_buffer_different_size (ref)</title>