1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

LibWeb: Remove incorrect comment from FFC flex item cross sizing

This commit is contained in:
Andreas Kling 2022-04-06 14:15:04 +02:00
parent c0ca6e470f
commit 922509c1a5

View file

@ -915,7 +915,6 @@ void FlexFormattingContext::determine_hypothetical_cross_size_of_item(FlexItem&
FormattingState throwaway_state(&m_state);
auto& box_state = throwaway_state.get_mutable(item.box);
// Item has definite main size, layout with that as the used main size.
auto independent_formatting_context = create_independent_formatting_context_if_needed(throwaway_state, item.box);
// NOTE: Flex items should always create an independent formatting context!
VERIFY(independent_formatting_context);