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

LibWeb: Resolve cross-axis flex item margins in the common case

This commit is contained in:
Andreas Kling 2022-09-28 17:23:22 +02:00
parent 9e4226f353
commit d64a8c3d2a
2 changed files with 33 additions and 1 deletions

View file

@ -142,6 +142,8 @@ private:
void resolve_flexible_lengths();
void resolve_cross_axis_auto_margins();
void determine_hypothetical_cross_size_of_item(FlexItem&, bool resolve_percentage_min_max_sizes);
void calculate_cross_size_of_each_flex_line(float cross_min_size, float cross_max_size);