[webkit-changes] [WebKit/WebKit] 9d9c89: [FFC] Do not pre-layout flex items

Alan Baradlay noreply at github.com
Thu Jun 8 11:56:21 PDT 2023


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

  Changed paths:
    M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp
    M Source/WebCore/rendering/RenderFlexibleBox.cpp

  Log Message:
  -----------
  [FFC] Do not pre-layout flex items
https://bugs.webkit.org/show_bug.cgi?id=257852

Reviewed by Antti Koivisto.

This was just a shortcut to get a head start on flex layout. In a long run FFC integration
should only pre-set geometry bits that are available before flexing (e.g. fixed values).

* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp:
(WebCore::LayoutIntegration::FlexLayout::updateFlexItemDimensions):
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutUsingFlexFormattingContext):

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




More information about the webkit-changes mailing list