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:
parent
82bb5ef8b7
commit
1d0c4a07ff
2 changed files with 28 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue