1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

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
parent e86d7cab06
commit f060f89220
8 changed files with 40 additions and 0 deletions

View file

@ -405,6 +405,12 @@ Optional<CSS::JustifyContent> StyleProperties::justify_content() const
return value_id_to_justify_content(value->to_identifier());
}
Optional<CSS::JustifyItems> StyleProperties::justify_items() const
{
auto value = property(CSS::PropertyID::JustifyItems);
return value_id_to_justify_items(value->to_identifier());
}
Optional<CSS::JustifySelf> StyleProperties::justify_self() const
{
auto value = property(CSS::PropertyID::JustifySelf);