From 846f2b0e735e4aebe1ea6f63dfad2c59d076e5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20S=C3=B6derquist?= Date: Wed, 24 Sep 2025 14:23:36 +0200 Subject: [PATCH] Add test for tex{Sub}Image2D from HTMLImageElement w/ SVG image w/ zero natural sizes --- .../textures/misc/00_test_list.txt | 1 + ...g-image-zero-natural-width-and-height.html | 88 +++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 sdk/tests/conformance/textures/misc/tex-image-svg-image-zero-natural-width-and-height.html diff --git a/sdk/tests/conformance/textures/misc/00_test_list.txt b/sdk/tests/conformance/textures/misc/00_test_list.txt index 4541470f3..a6ab53cbb 100644 --- a/sdk/tests/conformance/textures/misc/00_test_list.txt +++ b/sdk/tests/conformance/textures/misc/00_test_list.txt @@ -21,6 +21,7 @@ tex-image-and-sub-image-2d-with-array-buffer-view.html tex-image-and-uniform-binding-bugs.html --min-version 1.0.3 tex-image-canvas-corruption.html --min-version 1.0.4 tex-image-svg-image-no-natural-width-and-height.html +--min-version 1.0.4 tex-image-svg-image-zero-natural-width-and-height.html --min-version 1.0.2 tex-image-webgl.html tex-image-with-format-and-type.html tex-image-with-invalid-data.html diff --git a/sdk/tests/conformance/textures/misc/tex-image-svg-image-zero-natural-width-and-height.html b/sdk/tests/conformance/textures/misc/tex-image-svg-image-zero-natural-width-and-height.html new file mode 100644 index 000000000..3f97bdc67 --- /dev/null +++ b/sdk/tests/conformance/textures/misc/tex-image-svg-image-zero-natural-width-and-height.html @@ -0,0 +1,88 @@ + + + +WebGL texImage2D w/ <img> with SVG image with zero natural width and height + + + +
+
+