1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibWeb: Move FFC layout algorithm step 15 to a separate function

This commit is contained in:
Andreas Kling 2021-10-13 22:24:09 +02:00
parent 6d433c99f4
commit f401794d23
2 changed files with 19 additions and 11 deletions

View file

@ -76,6 +76,8 @@ private:
void align_all_flex_items_along_the_cross_axis(Box const& flex_container, Vector<FlexLine>&);
void determine_flex_container_used_cross_size(Box& flex_container, Vector<FlexLine> const&, float cross_min_size, float cross_max_size);
bool is_row_layout() const { return m_flex_direction == CSS::FlexDirection::Row || m_flex_direction == CSS::FlexDirection::RowReverse; }
CSS::FlexDirection m_flex_direction {};