[webkit-changes] [WebKit/WebKit] 0bf69c: [FFC] RenderStyle::alignContent().distribution()'s...

Alan Baradlay noreply at github.com
Sun Jul 2 14:00:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0bf69cd41706093ac827f3600e5e20ee3cd4d61c
      https://github.com/WebKit/WebKit/commit/0bf69cd41706093ac827f3600e5e20ee3cd4d61c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-07-02 (Sun, 02 Jul 2023)

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

  Log Message:
  -----------
  [FFC] RenderStyle::alignContent().distribution()'s ContentDistribution::Default maps to stretch
https://bugs.webkit.org/show_bug.cgi?id=258778

Reviewed by Antti Koivisto.

1. Lines may stretch when align content is ContentDistribution::Default
2. Fix flipped condition
3. flexItemsWithMarginAuto is the collection of margin auto flex items

* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::stretchFlexLines const):
(WebCore::Layout::FlexLayout::handleMainAxisAlignment const):

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




More information about the webkit-changes mailing list