[webkit-changes] [WebKit/WebKit] 521acb: [FFC] FlexLayout::computeAvailableMainAndCrossSpac...

Alan Baradlay noreply at github.com
Mon Jun 19 10:48:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 521acb6278c9e6a4d0a886ace6787cadac87850a
      https://github.com/WebKit/WebKit/commit/521acb6278c9e6a4d0a886ace6787cadac87850a
  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::computeAvailableMainAndCrossSpace should follow spec language
https://bugs.webkit.org/show_bug.cgi?id=258249

Reviewed by Antti Koivisto.

This patch implements https://www.w3.org/TR/css-flexbox-1/#algo-available
(Figure out how much available space there is for flex items in both directions)

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

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




More information about the webkit-changes mailing list