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:
parent
e86d7cab06
commit
f060f89220
8 changed files with 40 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue