1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

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

@ -405,6 +405,12 @@ Optional<CSS::JustifyContent> StyleProperties::justify_content() const
return value_id_to_justify_content(value->to_identifier());
}
Optional<CSS::JustifySelf> StyleProperties::justify_self() const
{
auto value = property(CSS::PropertyID::JustifySelf);
return value_id_to_justify_self(value->to_identifier());
}
Vector<CSS::Transformation> StyleProperties::transformations() const
{
auto value = property(CSS::PropertyID::Transform);