mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Don't assert when flex-item has align-self: end
We were missing the code to convert this to `align-items: end`.
This commit is contained in:
@@ -1447,6 +1447,8 @@ CSS::AlignItems FlexFormattingContext::alignment_for_item(Box const& box) const
|
||||
switch (box.computed_values().align_self()) {
|
||||
case CSS::AlignSelf::Auto:
|
||||
return flex_container().computed_values().align_items();
|
||||
case CSS::AlignSelf::End:
|
||||
return CSS::AlignItems::End;
|
||||
case CSS::AlignSelf::Normal:
|
||||
return CSS::AlignItems::Normal;
|
||||
case CSS::AlignSelf::SelfStart:
|
||||
|
||||
Reference in New Issue
Block a user