[webkit-changes] [WebKit/WebKit] e53fce: [FFC] Add support for (safe)fallback handling in c...

Alan Baradlay noreply at github.com
Wed Oct 2 19:50:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e53fce269871d841ce61453f6622ccdfd730c875
      https://github.com/WebKit/WebKit/commit/e53fce269871d841ce61453f6622ccdfd730c875
  Author: Alan Baradlay <zalan at 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] Add support for (safe)fallback handling in cross axis
https://bugs.webkit.org/show_bug.cgi?id=280788

Reviewed by Antti Koivisto.

In this patch:
1. add support for fallback value handling in cross axis (see handleCrossAxisAlignmentForFlexLines)
2. add support for space-evenly in cross axis (see handleCrossAxisAlignmentForFlexLines)
3. fix auto margin handling in cross axis direction (handleMainAxisAlignment)

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

Canonical link: https://commits.webkit.org/284595@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