1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 01:42:11 +00:00

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

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);