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

LibWeb: Cleanup + spec comments in replaced element height computation

This commit is contained in:
Andreas Kling 2021-10-14 23:15:36 +02:00
parent 463ee07c00
commit 7b0cd15495
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&);