diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-11 23:52:36 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-12 02:46:21 +0200 |
commit | 2f0657739b8d709fcbd42dfcdd1ccdcb61126798 (patch) | |
tree | 92b5fd09756a4a9f909920f665db66bdf021858c /Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h | |
parent | 3b3af58cf6ca757319bf3814a35ebc6943a0f97a (diff) | |
download | serenity-2f0657739b8d709fcbd42dfcdd1ccdcb61126798.zip |
LibWeb: Honor `align-self` over `align-items` when non-auto on flex item
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h index 1bf265e1cb..eccceaee85 100644 --- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h @@ -116,6 +116,8 @@ private: void calculate_cross_size_of_each_flex_line(float cross_min_size, float cross_max_size); + CSS::AlignItems alignment_for_item(FlexItem const&) const; + void determine_used_cross_size_of_each_flex_item(); void distribute_any_remaining_free_space(); |