diff --git a/Tests/LibWeb/Layout/expected/zero-height-replaced-box-with-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/zero-height-replaced-box-with-aspect-ratio.txt
new file mode 100644
index 00000000000..0b7b4b1e347
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/zero-height-replaced-box-with-aspect-ratio.txt
@@ -0,0 +1,12 @@
+Viewport <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer at (0,0) content-size 800x16 [BFC] children: not-inline
+ BlockContainer
at (8,8) content-size 784x0 children: not-inline
+ BlockContainer at (8,8) content-size 10x0 children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100] baseline: 100
+ SVGSVGBox