1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibWeb: Add spec comments to FFC layout algorithm step 5

This commit is contained in:
Andreas Kling 2021-10-13 23:38:04 +02:00
parent 82bb5ef8b7
commit 1d0c4a07ff
2 changed files with 28 additions and 15 deletions

View file

@ -113,6 +113,7 @@ private:
void align_all_flex_lines();
bool is_row_layout() const { return m_flex_direction == CSS::FlexDirection::Row || m_flex_direction == CSS::FlexDirection::RowReverse; }
bool is_single_line() const { return flex_container().computed_values().flex_wrap() == CSS::FlexWrap::Nowrap; }
void populate_specified_margins(FlexItem&, CSS::FlexDirection) const;