diff --git a/Tests/LibWeb/Layout/expected/zero-width-viewport-svg-image.txt b/Tests/LibWeb/Layout/expected/zero-width-viewport-svg-image.txt
new file mode 100644
index 0000000000..9640c8f072
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/zero-width-viewport-svg-image.txt
@@ -0,0 +1,13 @@
+Viewport <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer at (0,0) content-size 800x600 [BFC] children: not-inline
+ BlockContainer
at (8,8) content-size 784x150 children: inline
+ frag 0 from ImageBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
+ ImageBox
at (8,8) content-size 300x150 children: not-inline
+ (SVG-as-image isolated context)
+ Viewport <#document> at (0,0) content-size 300x150 [BFC] children: inline
+ SVGSVGBox