[webkit-changes] [WebKit/WebKit] 1cf229: [FFC] FlexLayout::computeFlexLines should follow s...

Alan Baradlay noreply at github.com
Sun Jun 18 15:12:22 PDT 2023


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

Reviewed by Antti Koivisto.

This patch implements https://www.w3.org/TR/css-flexbox-1/#algo-line-break
(wrap flex items across multiple lines if applicable)

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

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




More information about the webkit-changes mailing list