[webkit-changes] [WebKit/WebKit] d9216e: [FFC] FlexLayout::flexBaseAndHypotheticalMainSizeF...

Alan Baradlay noreply at github.com
Sun Jun 18 13:37:25 PDT 2023


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

Reviewed by Antti Koivisto.

Add skeleton implementation for https://www.w3.org/TR/css-flexbox-1/#algo-main-item
(only fixed value support at this point)

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

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




More information about the webkit-changes mailing list