[webkit-changes] [WebKit/WebKit] 7c396b: [FFC] Fix imported/w3c/web-platform-tests/css/css-...
Alan Baradlay
noreply at github.com
Tue Oct 8 15:03:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7c396b74150e0665c9dca1525b7a4802710b0fc4
https://github.com/WebKit/WebKit/commit/7c396b74150e0665c9dca1525b7a4802710b0fc4
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
Log Message:
-----------
[FFC] Fix imported/w3c/web-platform-tests/css/css-flexbox/flex-factor-less-than-one.html
https://bugs.webkit.org/show_bug.cgi?id=281062
Reviewed by Antti Koivisto.
Implement 9.7.5.b Calculate the remaining free space
"Calculate the remaining free space as for initial free space, above.
If the sum of the unfrozen flex items' flex factors is less than one,
multiply the initial free space by this sum.
If the magnitude of this value is less than the magnitude of the remaining free space,
use this as the remaining free space."
https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp: ^ spec text is already
in here a few lines above.
(WebCore::Layout::FlexLayout::computeMainSizeForFlexItems const):
Canonical link: https://commits.webkit.org/284852@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list