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

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

  Log Message:
  -----------
  [GFC] GridItemSizingFunctions' usedMinimumSize should be a margin box size 
instead of a border box size
https://bugs.webkit.org/show_bug.cgi?id=324615
rdar://187850851

Reviewed by Sammy Gill.

This PR updates GridItemSizingFunctions' usedMinimumSize to use margin box size 
rather than a border box size.

Note that GridLayoutUtils::inlineAxisMaxContentContribution and 
GridLayoutUtils::inlineAxisMinContentContribution already correctly use margin 
box size.

No behavior change, since coverage only admits margins whose used value is zero.

* Source/WebCore/layout/formattingContexts/grid/GridItemSizingFunctions.cpp:
(WebCore::Layout::GridItemSizingFunctions::inlineAxis):
(WebCore::Layout::GridItemSizingFunctions::blockAxis):

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



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

Reply via email to