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

LibWeb: Move unrelated things out of FFC step 1

Setting some initial width and height on the flex container is totally
unrelated to the "generate anonymous flex items" step.
This commit is contained in:
Andreas Kling 2022-02-27 09:50:09 +01:00
parent 3506a91349
commit 7c5b578df9
2 changed files with 37 additions and 28 deletions

View file

@ -81,6 +81,8 @@ private:
void set_main_axis_first_margin(Box const&, float margin);
void set_main_axis_second_margin(Box const&, float margin);
void setup_initial_width_and_height();
void generate_anonymous_flex_items();
struct AvailableSpace {