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

LibWeb: Get rid of FormattingContext::run_intrinsic_sizing()

Now that we have AvailableSpace, it's actually quite convenient to
simply set up the available space and call run() with that directly.
This commit is contained in:
Andreas Kling 2022-10-03 20:52:28 +02:00
parent 1464ce6fbb
commit 3408f7a3c5
2 changed files with 20 additions and 24 deletions

View file

@ -68,8 +68,6 @@ public:
static float containing_block_width_for(Box const&, LayoutState const&);
static float containing_block_height_for(Box const&, LayoutState const&);
void run_intrinsic_sizing(Box const&);
float compute_box_y_position_with_respect_to_siblings(Box const&) const;
float calculate_stretch_fit_width(Box const&, AvailableSize const&) const;