at (92.375,26.75) content-size 131.25x112.140625 children: inline
+ TextNode <#text>
+ TextNode <#text>
+ TextNode <#text>
+ TextNode <#text>
diff --git a/Tests/LibWeb/Layout/input/svg/svg-symbol-with-viewbox.html b/Tests/LibWeb/Layout/input/svg/svg-symbol-with-viewbox.html
new file mode 100644
index 00000000000..3c934502b93
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/svg/svg-symbol-with-viewbox.html
@@ -0,0 +1,13 @@
+
+
+
+
+
diff --git a/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp
index a7d3013f17f..b185dbb0ffe 100644
--- a/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp
@@ -159,7 +159,7 @@ void SVGFormattingContext::run(Box const& box, LayoutMode layout_mode, Available
auto path_transform = dom_node.get_transform();
double viewbox_scale = 1;
- auto maybe_view_box = svg_svg_element.view_box();
+ auto maybe_view_box = dom_node.view_box();
if (maybe_view_box.has_value()) {
// FIXME: This should allow just one of width or height to be specified.
// E.g. We should be able to layout