mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Move FFC layout algorithm step 11 to a separate function
This commit is contained in:
parent
8f027b4792
commit
176f1ad214
2 changed files with 18 additions and 10 deletions
|
@ -70,6 +70,8 @@ private:
|
|||
|
||||
void calculate_cross_size_of_each_flex_line(Box const& flex_container, Vector<FlexLine>&, float cross_min_size, float cross_max_size);
|
||||
|
||||
void determine_used_cross_size_of_each_flex_item(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