[webkit-changes] [WebKit/WebKit] 4e81f8: [FFC] Add support for hypothetical cross size when...

Alan Baradlay noreply at github.com
Tue Oct 15 13:22:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4e81f817d267a511b63d0f69ae9ae9b9d1fcca7c
      https://github.com/WebKit/WebKit/commit/4e81f817d267a511b63d0f69ae9ae9b9d1fcca7c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

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

  Log Message:
  -----------
  [FFC] Add support for hypothetical cross size when flex direction is 'column'
https://bugs.webkit.org/show_bug.cgi?id=281498

Reviewed by Antti Koivisto.

FlexFormattingUtils::usedSizeInCrossAxis returns the used size for a flex item in
both row and column directions (i.e. both parallel and perpendicular cases).

* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp:
(WebCore::Layout::FlexFormattingUtils::usedSizeInCrossAxis const):
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.h:
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::hypotheticalCrossSizeForFlexItems):

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