Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bc9c3b27c7e91e2ff55a59509f7c61abc1e4e4f6
https://github.com/WebKit/WebKit/commit/bc9c3b27c7e91e2ff55a59509f7c61abc1e4e4f6
Author: Alan Baradlay <[email protected]>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp
M Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.h
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
Log Message:
-----------
[FFC] Add support for used max-content size in main axis when main axis is
not parallel to inline axis
https://bugs.webkit.org/show_bug.cgi?id=281496
Reviewed by Antti Koivisto.
FlexFormattingUtils::usedMaxContentSizeInMainAxis handles now both when the main
axis is parallel to the inline axis (row direction with regular flex items) and
when these axes are perpendicular (e.g. column direction with regular flex
items).
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp:
(WebCore::Layout::FlexFormattingUtils::usedMinimumSizeInMainAxis const):
(WebCore::Layout::FlexFormattingUtils::usedMaximumSizeInMainAxis const):
(WebCore::Layout::FlexFormattingUtils::usedMaxContentSizeInMainAxis const):
(WebCore::Layout::FlexFormattingUtils::usedMinimumMainSize const): Deleted.
(WebCore::Layout::FlexFormattingUtils::usedMaxiumMainSize const): Deleted.
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.h:
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::flexBaseAndHypotheticalMainSizeForFlexItems
const):
(WebCore::Layout::FlexLayout::computeMainSizeForFlexItems const):
Canonical link: https://commits.webkit.org/285215@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes