mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Move FFC layout algorithm step 14 to a separate function
This commit is contained in:
parent
e590e17b8a
commit
6d433c99f4
2 changed files with 33 additions and 26 deletions
|
@ -74,6 +74,8 @@ private:
|
|||
|
||||
void distribute_any_remaining_free_space(Box const& flex_container, Vector<FlexLine>&, float main_available_size);
|
||||
|
||||
void align_all_flex_items_along_the_cross_axis(Box const& flex_container, Vector<FlexLine>&);
|
||||
|
||||
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