Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51ce0edf7d809f538fcd20dbf03b58c89bd473aa
      
https://github.com/WebKit/WebKit/commit/51ce0edf7d809f538fcd20dbf03b58c89bd473aa
  Author: Sammy Gill <[email protected]>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

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

  Log Message:
  -----------
  [GFC] Initial implementation of logic to disbribute extra space.
https://bugs.webkit.org/show_bug.cgi?id=319626
rdar://problem/182450492

Reviewed by Alan Baradlay.

https://drafts.csswg.org/css-grid-1/#extra-space

This is the very first implementation and focuses the new function on
specifically distributing space to the base sizes of the tracks. The
basic idea is that we just through each item and the track is spans,
then add extra space to the tracks so that the total size of the area is
enough to fit its contribution.

Steps 2.3 and 2.4 (distribute to non-affected tracks / distribute beyond 
limits) are left as
notImplemented() lambdas since neither can fire for the reachable cases today: 
only items spanning
a single track are supported, and the affected flexible tracks that reach this 
step still have
infinite growth limits, so step 2.2 absorbs the entire space.

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



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

Reply via email to