Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 510d5937f0ac9867e56aa1bc474415fcf922f072
      
https://github.com/WebKit/WebKit/commit/510d5937f0ac9867e56aa1bc474415fcf922f072
  Author: Alan Baradlay <za...@apple.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  [FFC] When the sum of the flex values on the line is less than 1, they will 
take up less than 100% of the free space.
https://bugs.webkit.org/show_bug.cgi?id=280753

Reviewed by Antti Koivisto.

"Determine the used flex factor. Sum the outer hypothetical main sizes of all 
items on the line. If the sum is less than the flex container's inner main 
size, use the flex grow factor for the rest of this algorithm; otherwise, use 
the flex shrink factor."

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::computeMainSizeForFlexItems const):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForFlexLayoutWithReason):
(WebCore::LayoutIntegration::printReason):

Canonical link: https://commits.webkit.org/284565@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to