diff --git a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt
new file mode 100644
index 00000000000..d0969f23aac
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt
@@ -0,0 +1,16 @@
+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 784x100 children: inline
+ line 0 width: 100, height: 100, bottom: 100, baseline: 100
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100]
+ SVGSVGBox