[webkit-changes] [WebKit/WebKit] 8fee80: [FFC] Add support for positioning flex items with ...

Alan Baradlay noreply at github.com
Thu Oct 17 05:58:14 PDT 2024


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

  Changed paths:
    M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp

  Log Message:
  -----------
  [FFC] Add support for positioning flex items with wrap-reverse when flex direction is column(-reverse)
https://bugs.webkit.org/show_bug.cgi?id=281630

Reviewed by Antti Koivisto.

FlexFormattingContext::setFlexItemsGeometry is where we turn logical positions to flex container
relative positions. As part of that process, we need to compute the flex box container height
when the content is upside down (wrap-reversed) and the container height is content driven.

* Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp:
(WebCore::Layout::FlexFormattingContext::setFlexItemsGeometry):

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