LibWeb: Resolve appearance property

This commit is contained in:
Sam Atkins 2023-05-27 15:33:56 +01:00 committed by Andreas Kling
parent db09f0e0c1
commit 3ed2c6da72
Notes: sideshowbarker 2024-07-17 07:09:53 +09:00

View File

@ -241,6 +241,8 @@ ErrorOr<RefPtr<StyleValue const>> ResolvedCSSStyleDeclaration::style_value_for_p
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().align_items())));
case PropertyID::AlignSelf:
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().align_self())));
case PropertyID::Appearance:
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().appearance())));
case PropertyID::Background: {
auto maybe_background_color = property(PropertyID::BackgroundColor);
auto maybe_background_image = property(PropertyID::BackgroundImage);