[webkit-changes] [WebKit/WebKit] 8dbda4: [FFC] Fix imported/w3c/web-platform-tests/css/css-...

Alan Baradlay noreply at github.com
Sun Oct 13 15:10:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8dbda4a39253329ed8471d53d34eab27d6fcfb3c
      https://github.com/WebKit/WebKit/commit/8dbda4a39253329ed8471d53d34eab27d6fcfb3c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-13 (Sun, 13 Oct 2024)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp
    M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
    M Source/WebCore/layout/formattingContexts/flex/FlexLayout.h
    M Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationUtils.h

  Log Message:
  -----------
  [FFC] Fix imported/w3c/web-platform-tests/css/css-flexbox/flexbox-flex-basis-content-003a.html
https://bugs.webkit.org/show_bug.cgi?id=281345

Reviewed by Antti Koivisto.

LengthType::Content is not an intrinsic type (as opposed to min-content, max-content, fit-content).

* Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp:
(WebCore::Layout::FlexFormattingContext::convertFlexItemsToLogicalSpace):
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp: use language closer to spec.
(WebCore::Layout::FlexFormattingUtils::usedMinimumMainSize const):
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::flexBaseAndHypotheticalMainSizeForFlexItems const):
(WebCore::Layout::FlexLayout::maxContentForFlexItem const): Deleted.
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.h:
* Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp:
(WebCore::Layout::IntegrationUtils::maxContentSize const):
(WebCore::Layout::IntegrationUtils::minContentSize const):
(WebCore::Layout::IntegrationUtils::maxContentLogicalWidth const): Deleted.
(WebCore::Layout::IntegrationUtils::minContentLogicalWidth const): Deleted.
* Source/WebCore/layout/integration/LayoutIntegrationUtils.h:

Canonical link: https://commits.webkit.org/285101@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