Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 12c58e7796038628b36c7c8464dbd3f2e23715cc
      
https://github.com/WebKit/WebKit/commit/12c58e7796038628b36c7c8464dbd3f2e23715cc
  Author: Alan Baradlay <[email protected]>
  Date:   2024-10-20 (Sun, 20 Oct 2024)

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

  Log Message:
  -----------
  [FFC] Fix 
imported/w3c/web-platform-tests/css/css-flexbox/flexbox_justifycontent-rtl-002.html
https://bugs.webkit.org/show_bug.cgi?id=281802

Reviewed by Antti Koivisto.

The flex container relative x and y content box positions should flip 
main/cross axes for column direction. -also fix vertical/horizontal 
width/height logic.

* Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp:
(WebCore::Layout::FlexFormattingContext::setFlexItemsGeometry):
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingUtils.cpp:
(WebCore::Layout::FlexFormattingUtils::mainAxisGapValue):
(WebCore::Layout::FlexFormattingUtils::crossAxisGapValue):
(WebCore::Layout::FlexFormattingUtils::usedMinimumSizeInMainAxis const):
(WebCore::Layout::FlexFormattingUtils::usedMaxContentSizeInMainAxis const):
(WebCore::Layout::FlexFormattingUtils::usedSizeInCrossAxis const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to