mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
LibWeb: Move FFC layout algorithm step 8 to a separate function
This commit is contained in:
parent
3402584646
commit
8f027b4792
2 changed files with 36 additions and 28 deletions
|
@ -68,6 +68,8 @@ private:
|
|||
|
||||
float determine_hypothetical_cross_size_of_item(Box&);
|
||||
|
||||
void calculate_cross_size_of_each_flex_line(Box const& flex_container, Vector<FlexLine>&, 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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue