diff options
author | Andreas Kling <kling@serenityos.org> | 2022-04-06 14:15:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-06 14:43:00 +0200 |
commit | 922509c1a56741c4b5519c47ead8ba3956cde556 (patch) | |
tree | f945c8c68cff8572231d1663be448c8d55bd4a01 /Userland/Libraries/LibWeb | |
parent | c0ca6e470f27dfd7429b79f1015462a834c19408 (diff) | |
download | serenity-922509c1a56741c4b5519c47ead8ba3956cde556.zip |
LibWeb: Remove incorrect comment from FFC flex item cross sizing
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); |