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:
parent
0c0df78030
commit
3402584646
2 changed files with 34 additions and 35 deletions
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue