From e8dc8f697b6cc025daae12f1fabd744d9361610a Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 27 May 2023 15:58:56 +0100 Subject: [PATCH] LibWeb: Alphabetize `style_value_for_property()` property list --- Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp b/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp index fae2e031fb..5b40369ab2 100644 --- a/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp +++ b/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp @@ -434,6 +434,8 @@ ErrorOr> ResolvedCSSStyleDeclaration::style_value_for_p return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().border_top().line_style)); case PropertyID::BorderTopWidth: return LengthStyleValue::create(Length::make_px(layout_node.computed_values().border_top().width)); + case PropertyID::Bottom: + return style_value_for_length_percentage(layout_node.computed_values().inset().bottom()); case PropertyID::BoxShadow: { auto box_shadow_layers = layout_node.computed_values().box_shadow(); if (box_shadow_layers.is_empty()) @@ -454,8 +456,6 @@ ErrorOr> ResolvedCSSStyleDeclaration::style_value_for_p } case PropertyID::BoxSizing: return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().box_sizing())); - case PropertyID::Bottom: - return style_value_for_length_percentage(layout_node.computed_values().inset().bottom()); case PropertyID::Clear: return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().clear())); case PropertyID::Clip: