1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

LibWeb: Resolve used insets for floating elements

This makes the game carousel work on https://null.com/ :^)
This commit is contained in:
Andreas Kling 2023-07-03 20:30:29 +02:00
parent a2591bc5fa
commit c83ae729d2
5 changed files with 61 additions and 0 deletions

View file

@ -988,6 +988,8 @@ void BlockFormattingContext::layout_floating_box(Box const& box, BlockContainer
if (line_builder)
line_builder->recalculate_available_space();
compute_inset(box);
if (independent_formatting_context)
independent_formatting_context->parent_context_did_dimension_child_root_box();
}