diff --git a/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp b/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp index b484fd1a69..900384f994 100644 --- a/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp +++ b/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp @@ -473,9 +473,9 @@ RefPtr ResolvedCSSStyleDeclaration::style_value_for_property(L return StyleValueList::create(move(values), StyleValueList::Separator::Space); } case CSS::PropertyID::PaddingBottom: + return style_value_for_length_percentage(layout_node.computed_values().padding().bottom()); case CSS::PropertyID::PaddingLeft: return style_value_for_length_percentage(layout_node.computed_values().padding().left()); - return style_value_for_length_percentage(layout_node.computed_values().padding().bottom()); case CSS::PropertyID::PaddingRight: return style_value_for_length_percentage(layout_node.computed_values().padding().right()); case CSS::PropertyID::PaddingTop: