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

This commit is contained in:
Aliaksandr Kalenik
2023-07-14 14:41:22 +02:00
committed by Andreas Kling
parent fbab9bc330
commit fedbb39e9e
7 changed files with 39 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::JustifySelf:
return TRY(IdentifierStyleValue::create(to_value_id(layout_node.computed_values().justify_self())));
case PropertyID::Left:
return style_value_for_length_percentage(layout_node.computed_values().inset().left());
case PropertyID::LineHeight: