LibWeb: Add support for justify-items property in CSS parser

This commit is contained in:
Aliaksandr Kalenik 2023-07-14 20:49:22 +02:00 committed by Andreas Kling
commit f060f89220
Notes: sideshowbarker 2024-07-16 23:52:10 +09:00
8 changed files with 40 additions and 0 deletions

View file

@ -691,6 +691,8 @@ ErrorOr<RefPtr<StyleValue const>> ResolvedCSSStyleDeclaration::style_value_for_p
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().image_rendering()));
case PropertyID::JustifyContent:
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().justify_content()));
case PropertyID::JustifyItems:
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().justify_items())));
case PropertyID::JustifySelf:
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().justify_self())));
case PropertyID::Left: