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