mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibWeb: Fix height computation (again) :^)
Height computation algorithm is actually different for absolutely positioned boxes and block formatting contexts (where it doesn't include floats) Fixes #6408
This commit is contained in:
parent
0eedf3bfea
commit
174c940479
3 changed files with 44 additions and 2 deletions
|
@ -38,7 +38,6 @@ protected:
|
|||
float preferred_minimum_width { 0 };
|
||||
};
|
||||
|
||||
static float compute_auto_height_for_block_level_element(const Box& box);
|
||||
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue