From 922509c1a56741c4b5519c47ead8ba3956cde556 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 6 Apr 2022 14:15:04 +0200 Subject: [PATCH] LibWeb: Remove incorrect comment from FFC flex item cross sizing --- Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp index 9187f35ffd..0aa48ac707 100644 --- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp @@ -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);