Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8161b33ac1f8f4889461a4ed341b5e1d8ea9a470
https://github.com/WebKit/WebKit/commit/8161b33ac1f8f4889461a4ed341b5e1d8ea9a470
Author: Alan Baradlay <[email protected]>
Date: 2023-07-02 (Sun, 02 Jul 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
M Source/WebCore/layout/formattingContexts/flex/LogicalFlexItem.h
Log Message:
-----------
[FFC] Add support for box-sizing for cross axis
https://bugs.webkit.org/show_bug.cgi?id=258777
Reviewed by Antti Koivisto.
Take box-sizing into account when computing the outer cross axis size for flex
items.
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::outerCrossSize):
(WebCore::Layout::FlexLayout::crossSizeForFlexLines const):
(WebCore::Layout::FlexLayout::computeCrossSizeForFlexItems const):
(WebCore::Layout::FlexLayout::handleCrossAxisAlignmentForFlexItems const):
Canonical link: https://commits.webkit.org/265696@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes