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

Alan Baradlay noreply at github.com
Sun Oct 20 18:05:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b5faa1033db015a4a5eb189893cf87ca346e72e
      https://github.com/WebKit/WebKit/commit/3b5faa1033db015a4a5eb189893cf87ca346e72e
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-20 (Sun, 20 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] Fix imported/w3c/web-platform-tests/css/css-flexbox/flexbox_justifycontent-rtl-001.html
https://bugs.webkit.org/show_bug.cgi?id=281799

Reviewed by Antti Koivisto.

Take inline direction into account when justify content value is left/right.

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

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