mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:27:39 +00:00
LibWeb: Move FFC layout algorithm step 6 to a separate function
This commit is contained in:
parent
0fd25fcbbc
commit
0c0df78030
2 changed files with 173 additions and 166 deletions
|
@ -64,6 +64,8 @@ private:
|
|||
|
||||
Vector<FlexLine> collect_flex_items_into_flex_lines(Box const& flex_container, Vector<FlexItem>&, float main_available_size);
|
||||
|
||||
void resolve_flexible_lengths(Vector<FlexLine>&, float main_available_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