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

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

  Log Message:
  -----------
  [GFC] Plumb grid items border and padding to 
TrackSizingAlgorithm::minimumContributions
https://bugs.webkit.org/show_bug.cgi?id=307356
rdar://169981035

Reviewed by Vitor Roriz.

When computing the used minimum sizes of grid items, which will be done
in TrackSizingAlgorithm::minimumContributions, we will need to know the
used border and padding values for the grid items in order to properly
compute the border box sizes in some cases. We have access to the border
and padding on PlacedGridItem, so we can construct a list of these
values and thread it through the track sizing algorithm similar to how
we do so with other pieces of data.

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



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

Reply via email to