[webkit-changes] [WebKit/WebKit] e2c6f1: [FFC] Fix cross axis flex item placement when mult...

Alan Baradlay noreply at github.com
Mon Jul 3 06:49:07 PDT 2023


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

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

  Log Message:
  -----------
  [FFC] Fix cross axis flex item placement when multiple flex lines are present
https://bugs.webkit.org/show_bug.cgi?id=258791

Reviewed by Antti Koivisto.

Use the previous line's _position_ and size to compute current line's position.

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

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




More information about the webkit-changes mailing list