[webkit-changes] [WebKit/WebKit] 596bf1: [Flex] Flex container with no flex item should not...

Alan Baradlay noreply at github.com
Mon Oct 14 10:01:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 596bf1bd8757f32515a09bb0f41e4e95da30b8e1
      https://github.com/WebKit/WebKit/commit/596bf1bd8757f32515a09bb0f41e4e95da30b8e1
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

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

  Log Message:
  -----------
  [Flex] Flex container with no flex item should not run flex layout
https://bugs.webkit.org/show_bug.cgi?id=281311

Reviewed by Antti Koivisto.

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForFlexLayoutWithReason):
(WebCore::LayoutIntegration::printReason):
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::performFlexLayout):
(WebCore::RenderFlexibleBox::layoutAndPlaceFlexItems):
(WebCore::RenderFlexibleBox::layoutUsingFlexFormattingContext):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list