mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
LibWeb: Resolve appearance property
This commit is contained in:
parent
db09f0e0c1
commit
3ed2c6da72
Notes:
sideshowbarker
2024-07-17 07:09:53 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/3ed2c6da72 Pull-request: https://github.com/SerenityOS/serenity/pull/19092
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user