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

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

This commit is contained in:
Andreas Kling 2021-10-13 22:15:16 +02:00
parent 0c0df78030
commit 3402584646
2 changed files with 34 additions and 35 deletions

View file

@ -66,6 +66,8 @@ private:
void resolve_flexible_lengths(Vector<FlexLine>&, float main_available_size);
float determine_hypothetical_cross_size_of_item(Box&);
bool is_row_layout() const { return m_flex_direction == CSS::FlexDirection::Row || m_flex_direction == CSS::FlexDirection::RowReverse; }
CSS::FlexDirection m_flex_direction {};