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

LibWeb: Make solve_replaced_size_constraint() into FormattingContext

This commit is contained in:
Andreas Kling 2023-05-31 10:41:32 +02:00
parent 42470d837e
commit 4fed7beb7b
2 changed files with 6 additions and 4 deletions

View file

@ -116,6 +116,8 @@ protected:
CSSPixels tentative_height_for_replaced_element(ReplacedBox const&, CSS::Size const& computed_height, AvailableSpace const&) const;
CSSPixels compute_auto_height_for_block_formatting_context_root(Box const&) const;
[[nodiscard]] CSSPixelSize solve_replaced_size_constraint(CSSPixels input_width, CSSPixels input_height, ReplacedBox const&) const;
ShrinkToFitResult calculate_shrink_to_fit_widths(Box const&);
void layout_absolutely_positioned_element(Box const&, AvailableSpace const&);