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 0000000000000000000000000000000000000000..3c934502b930a0ec40426f2c3aba4b0e1f49cb9b
--- /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 a7d3013f17ff357f16ba4d2854725a48a7af4c14..b185dbb0ffe6e37d788e0f25699ea7479bd376bd 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