mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibWeb: Honor align-self
over align-items
when non-auto on flex item
This commit is contained in:
parent
3b3af58cf6
commit
2f0657739b
9 changed files with 84 additions and 10 deletions
|
@ -310,6 +310,12 @@ Optional<CSS::AlignItems> StyleProperties::align_items() const
|
|||
return value_id_to_align_items(value->to_identifier());
|
||||
}
|
||||
|
||||
Optional<CSS::AlignSelf> StyleProperties::align_self() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::AlignSelf);
|
||||
return value_id_to_align_self(value->to_identifier());
|
||||
}
|
||||
|
||||
Optional<CSS::Position> StyleProperties::position() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::Position);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue