summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-13 22:22:30 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-13 23:56:26 +0200
commit6d433c99f40caf2527ff4ba22ebacb906790fc32 (patch)
tree8a2a4da3d365c5924efc8d2413a5426addfffabc /Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h
parente590e17b8a665a01417923b0f0819ae0085e7d73 (diff)
downloadserenity-6d433c99f40caf2527ff4ba22ebacb906790fc32.zip
LibWeb: Move FFC layout algorithm step 14 to a separate function
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h
index f984e05363..1a97e7bf33 100644
--- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h
+++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.h
@@ -74,6 +74,8 @@ private:
void distribute_any_remaining_free_space(Box const& flex_container, Vector<FlexLine>&, float main_available_size);
+ void align_all_flex_items_along_the_cross_axis(Box const& flex_container, Vector<FlexLine>&);
+
bool is_row_layout() const { return m_flex_direction == CSS::FlexDirection::Row || m_flex_direction == CSS::FlexDirection::RowReverse; }
CSS::FlexDirection m_flex_direction {};