Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 532bc8be7a14ce4c7a902f5fce7ff03bec56d613
https://github.com/WebKit/WebKit/commit/532bc8be7a14ce4c7a902f5fce7ff03bec56d613
Author: Alan Baradlay <[email protected]>
Date: 2023-07-04 (Tue, 04 Jul 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.h
Log Message:
-----------
[FFC] Move align-self: stretch handling over to computeCrossSizeForFlexItems
https://bugs.webkit.org/show_bug.cgi?id=258824
Reviewed by Antti Koivisto.
Move the sizing bits of align-self from handleCrossAxisAlignmentForFlexItems to
computeCrossSizeForFlexItems.
This helps to keep the incoming flexItemsCrossSizeList immutable inside the
alignment function(s).
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::computeCrossSizeForFlexItems const):
(WebCore::Layout::FlexLayout::handleCrossAxisAlignmentForFlexItems const):
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.h:
Canonical link: https://commits.webkit.org/265753@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes