Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8109369b89f80e10d7b91da608fd094906868a31
      
https://github.com/WebKit/WebKit/commit/8109369b89f80e10d7b91da608fd094906868a31
  Author: Sammy Gill <[email protected]>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

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

  Log Message:
  -----------
  [GFC] GridLayout::layoutGridItems should use dedicated minimum size helpers
https://bugs.webkit.org/show_bug.cgi?id=307718
rdar://170271873

Reviewed by Alan Baradlay.

When we first implemented this function we did not have any other way to
determine the minimum size of grid items. As a result, the first
implementation here was very simple and assumed fixed sizes for the
min-width/height of a grid item. Now that we have a set of dedicated
helper functions that can compute the used minimum size, which is
already used during track sizing, we can also use it here.

So basically just replace the fixed value we were computing with a call
to these helper functions. This requires plumbing in all of the
necessary data from GridLayout::layout to used{Inline,Block}SizeForGridItem.

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



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

Reply via email to