diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-28 17:23:22 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-29 20:09:52 +0200 |
commit | d64a8c3d2ab3f0f9a61a47ae3b9335685667ec08 (patch) | |
tree | 3edcba2fa5c6e6a3e94f5271fc4f887307be9536 /Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h | |
parent | 9e4226f3539ec63c4fdd509697bbf6fad1f4c098 (diff) | |
download | serenity-d64a8c3d2ab3f0f9a61a47ae3b9335685667ec08.zip |
LibWeb: Resolve cross-axis flex item margins in the common case
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 c9f786e828..ea810da2b9 100644 --- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h @@ -142,6 +142,8 @@ private: void resolve_flexible_lengths(); + void resolve_cross_axis_auto_margins(); + void determine_hypothetical_cross_size_of_item(FlexItem&, bool resolve_percentage_min_max_sizes); void calculate_cross_size_of_each_flex_line(float cross_min_size, float cross_max_size); |