[webkit-changes] [WebKit/WebKit] 60ef17: [FFC] Take border and padding into account when ma...

Alan Baradlay noreply at github.com
Sun Jul 2 14:47:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 60ef17eec70203dc4f2d1aa60517321cd57e0f44
      https://github.com/WebKit/WebKit/commit/60ef17eec70203dc4f2d1aa60517321cd57e0f44
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-07-02 (Sun, 02 Jul 2023)

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

  Log Message:
  -----------
  [FFC] Take border and padding into account when main/cross axis flex item size is content size based
https://bugs.webkit.org/show_bug.cgi?id=258782

Reviewed by Antti Koivisto.

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

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




More information about the webkit-changes mailing list