commit 39d95da6ff38def33309c733dedb73bf02085611 parent 21dd091ef30ecdb59dc61c96e9e1ed1967d9c1ab Author: webbeef <me@webbeef.org> Date: Thu, 9 Oct 2025 16:30:14 +0000 Bug 1991157 [wpt PR 55107] - script: display top-level SVG image documents., a=testonly Automatic update from web-platform-tests script: display top-level SVG image documents. SVG images served with the image/svg+xml mime type were recognized as XML documents instead of images, so were not displayed. Signed-off-by: webbeef <me@webbeef.org> -- wpt-commits: 53287c98a5e606a61a8b5c08ec4067edda8d47cf wpt-pr: 55107 Diffstat:
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/svg/top-level-document/svg-image-document-svg-xml-mime-type-ref.html b/testing/web-platform/tests/svg/top-level-document/svg-image-document-svg-xml-mime-type-ref.html @@ -0,0 +1,3 @@ +<!doctype html> +<meta charset="utf-8"> +<iframe src="../shapes/circle-01.svg?pipe=header(Content-Type,image/svg)"> diff --git a/testing/web-platform/tests/svg/top-level-document/svg-image-document-svg-xml-mime-type.tentative.html b/testing/web-platform/tests/svg/top-level-document/svg-image-document-svg-xml-mime-type.tentative.html @@ -0,0 +1,6 @@ +<!doctype html> +<meta charset="utf-8"> +<title>Display image/svg+xml top level documents</title> +<link rel='match' href='svg-image-document-svg-xml-mime-type-ref.html'> +<link rel="author" title="webbeef" href="mailto:me@webbeef.org"> +<iframe src="../shapes/circle-01.svg?pipe=header(Content-Type,image/svg+xml)">