1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

LibWeb: Resolve used insets for flex items

This commit is contained in:
Andreas Kling 2023-07-03 20:32:57 +02:00
parent c83ae729d2
commit 03ec17fd37
3 changed files with 34 additions and 0 deletions

View file

@ -216,6 +216,8 @@ void FlexFormattingContext::run(Box const& run_box, LayoutMode, AvailableSpace c
auto& box_state = m_state.get(item.box);
if (auto independent_formatting_context = layout_inside(item.box, LayoutMode::Normal, box_state.available_inner_space_or_constraints_from(m_available_space_for_flex_container->space)))
independent_formatting_context->parent_context_did_dimension_child_root_box();
compute_inset(item.box);
}
}
}