Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc1ec3b717f4a5f6ca74c448cc9801984bfee8d9
      
https://github.com/WebKit/WebKit/commit/bc1ec3b717f4a5f6ca74c448cc9801984bfee8d9
  Author: Yulun Wu <[email protected]>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/grid/GridItemSizingFunctions.cpp
    M Source/WebCore/layout/formattingContexts/grid/GridItemSizingFunctions.h
    M Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.cpp
    M Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.h
    M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp

  Log Message:
  -----------
  [GFC][Cleanup] GridItemSizingFunctions should return MarginBoxSize
https://bugs.webkit.org/show_bug.cgi?id=324919
rdar://188141475

Reviewed by Sammy Gill.

This PR replaces LayoutUnit with MarginBoxSize in the signatures of the 
GridItemSizingFunctions callbacks.

* Source/WebCore/layout/formattingContexts/grid/GridItemSizingFunctions.cpp:
(WebCore::Layout::GridItemSizingFunctions::inlineAxis):
(WebCore::Layout::GridItemSizingFunctions::blockAxis):
* Source/WebCore/layout/formattingContexts/grid/GridItemSizingFunctions.h:
* Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.cpp:
(WebCore::Layout::GridLayoutUtils::inlineAxisMinContentContribution):
(WebCore::Layout::GridLayoutUtils::inlineAxisMaxContentContribution):
(WebCore::Layout::GridLayoutUtils::blockAxisMinContentContribution):
(WebCore::Layout::GridLayoutUtils::blockAxisMaxContentContribution):
* Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.h:
* Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp:
(WebCore::Layout::minContentContributions):
(WebCore::Layout::maxContentContributions):
(WebCore::Layout::minimumContribution):
(WebCore::Layout::usedFlexFractionForMaxContent):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to