.box) [8,8 140x17]
+ TextPaintable (TextNode<#text>)
diff --git a/Tests/LibWeb/Layout/input/css-round-function-with-percentage-value.html b/Tests/LibWeb/Layout/input/css-round-function-with-percentage-value.html
new file mode 100644
index 00000000000..9d92ca9575c
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/css-round-function-with-percentage-value.html
@@ -0,0 +1,11 @@
+
+
\ No newline at end of file
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp b/Userland/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp
index b3416439abc..235b6f54d43 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp
+++ b/Userland/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp
@@ -2079,7 +2079,6 @@ bool RoundCalculationNode::contains_percentage() const
CalculatedStyleValue::CalculationResult RoundCalculationNode::resolve(Optional
context, CalculatedStyleValue::PercentageBasis const& percentage_basis) const
{
- auto resolved_type = m_x->resolved_type().value();
auto node_a = m_x->resolve(context, percentage_basis);
auto node_b = m_y->resolve(context, percentage_basis);
@@ -2089,6 +2088,8 @@ CalculatedStyleValue::CalculationResult RoundCalculationNode::resolve(Optional