LibWeb: Cleanup + spec comments in replaced element height computation

This commit is contained in:
Andreas Kling 2021-10-14 23:15:36 +02:00
commit 7b0cd15495
Notes: sideshowbarker 2024-07-18 02:22:21 +09:00
2 changed files with 24 additions and 14 deletions

View file

@ -40,7 +40,7 @@ protected:
};
static float tentative_width_for_replaced_element(const ReplacedBox&, const CSS::Length& width);
static float tentative_height_for_replaced_element(const ReplacedBox&, const CSS::Length& width);
static float tentative_height_for_replaced_element(const ReplacedBox&, const CSS::Length& height);
ShrinkToFitResult calculate_shrink_to_fit_widths(Box&);