[webkit-changes] [WebKit/WebKit] b68578: [FFC] FlexLayout::handleCrossAxisAlignmentForFlexI...

Alan Baradlay noreply at github.com
Mon Jun 19 06:12:28 PDT 2023


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

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

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

Reviewed by Antti Koivisto.

This patch implements https://www.w3.org/TR/css-flexbox-1/#cross-alignment
(Resolve cross axis auto margins + align flex items driven by align-self and align-content)

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

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




More information about the webkit-changes mailing list