[webkit-changes] [WebKit/WebKit] 8fffff: [FFC] FlexLayout::computeCrossSizeForFlexItems sho...
Alan Baradlay
noreply at github.com
Sun Jun 18 20:27:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8fffff486591b44c841500464c18f2abfe7c9391
https://github.com/WebKit/WebKit/commit/8fffff486591b44c841500464c18f2abfe7c9391
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-06-18 (Sun, 18 Jun 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
Log Message:
-----------
[FFC] FlexLayout::computeCrossSizeForFlexItems should follow spec language
https://bugs.webkit.org/show_bug.cgi?id=258244
Reviewed by Antti Koivisto.
This patch implements https://www.w3.org/TR/css-flexbox-1/#algo-stretch
(Figure out each flex items' cross size using the associated flex lines' geometry)
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::computeCrossSizeForFlexItems const):
Canonical link: https://commits.webkit.org/265292@main
More information about the webkit-changes
mailing list