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:
parent
a2591bc5fa
commit
c83ae729d2
5 changed files with 61 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue