mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
LibWeb: Move FFC layout algorithm step 16 to a separate function
This commit is contained in:
parent
f401794d23
commit
9359df4be9
Notes:
sideshowbarker
2024-07-18 02:46:19 +09:00
Author: https://github.com/awesomekling
Commit: 9359df4be9
2 changed files with 18 additions and 10 deletions
|
@ -78,6 +78,8 @@ private:
|
|||
|
||||
void determine_flex_container_used_cross_size(Box& flex_container, Vector<FlexLine> const&, float cross_min_size, float cross_max_size);
|
||||
|
||||
void align_all_flex_lines(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