diff --git a/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt b/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt
new file mode 100644
index 0000000000..8b8fc8b1da
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt
@@ -0,0 +1,96 @@
+Viewport <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer at (0,0) content-size 800x700 children: not-inline
+ BlockContainer
at (50,50) content-size 700x600 children: inline
+ line 0 width: 616, height: 203.46875, bottom: 203.46875, baseline: 200
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [50,150 200x100]
+ frag 1 from TextNode start: 0, length: 1, rect: [250,236 8x17.46875]
+ " "
+ frag 2 from SVGSVGBox start: 0, length: 0, rect: [258,50 200x200]
+ frag 3 from TextNode start: 0, length: 1, rect: [458,236 8x17.46875]
+ " "
+ frag 4 from SVGSVGBox start: 0, length: 0, rect: [466,50 200x200]
+ line 1 width: 616, height: 203.46875, bottom: 403.46875, baseline: 200
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [50,250 200x200]
+ frag 1 from TextNode start: 0, length: 1, rect: [250,436 8x17.46875]
+ " "
+ frag 2 from SVGSVGBox start: 0, length: 0, rect: [258,250 200x200]
+ frag 3 from TextNode start: 0, length: 1, rect: [458,436 8x17.46875]
+ " "
+ frag 4 from SVGSVGBox start: 0, length: 0, rect: [466,250 200x200]
+ line 2 width: 200, height: 200, bottom: 600, baseline: 200
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [50,450 200x200]
+ SVGSVGBox