diff --git a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt
new file mode 100644
index 0000000000..a8a8ce415d
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt
@@ -0,0 +1,21 @@
+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 784x17.46875 children: inline
+ line 0 width: 8, height: 17.46875, bottom: 17.46875, baseline: 13.53125
+ frag 0 from ImageBox start: 0, length: 0, rect: [8,21 0x0]
+ frag 1 from TextNode start: 0, length: 1, rect: [8,8 8x17.46875]
+ " "
+ frag 2 from SVGSVGBox start: 0, length: 0, rect: [16,21 0x0]
+ ImageBox
at (8,21) content-size 0x0 children: not-inline
+ (SVG-as-image isolated context)
+ Viewport <#document> at (0,0) content-size 0x0 children: inline
+ SVGSVGBox