mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
LibWeb: Move FFC layout algorithm step 14 to a separate function
This commit is contained in:
parent
e590e17b8a
commit
6d433c99f4
Notes:
sideshowbarker
2024-07-18 02:46:23 +09:00
Author: https://github.com/awesomekling
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