mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 02:38:59 +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
Notes:
sideshowbarker
2024-07-18 19:14:36 +09:00
Author: https://github.com/Cleverking2003
Commit: 174c940479
Pull-request: https://github.com/SerenityOS/serenity/pull/6550
Issue: https://github.com/SerenityOS/serenity/issues/6408
Reviewed-by: https://github.com/awesomekling
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