[webkit-changes] [WebKit/WebKit] f41d8b: [FFC] Fix imported/w3c/web-platform-tests/css/css-...

Alan Baradlay noreply at github.com
Thu Oct 3 05:30:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f41d8bd083114acd3ef51bda7fb89a755c2f27dd
      https://github.com/WebKit/WebKit/commit/f41d8bd083114acd3ef51bda7fb89a755c2f27dd
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

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

  Log Message:
  -----------
  [FFC] Fix imported/w3c/web-platform-tests/css/css-flexbox/flexbox-safe-overflow-position-001.html
https://bugs.webkit.org/show_bug.cgi?id=280800

Reviewed by Antti Koivisto.

1. Add support for overflow 'safe' for both main and cross axis directions.
2. When consulting flex box for self align, use flex box style for the overflow value too.

* 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):

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