[webkit-changes] [WebKit/WebKit] dd45f9: [FFC] FlexLayout::handleMainAxisAlignment should f...

Alan Baradlay noreply at github.com
Sun Jun 18 21:31:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dd45f9c99b338b53701e2491447335a460de563a
      https://github.com/WebKit/WebKit/commit/dd45f9c99b338b53701e2491447335a460de563a
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-06-18 (Sun, 18 Jun 2023)

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

  Log Message:
  -----------
  [FFC] FlexLayout::handleMainAxisAlignment should follow spec language
https://bugs.webkit.org/show_bug.cgi?id=258245

Reviewed by Antti Koivisto.

This patch implements https://www.w3.org/TR/css-flexbox-1/#main-alignment
(resolve auto margins and align flex items on main axis driven by 'justify-content' property)

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

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




More information about the webkit-changes mailing list