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

  Changed paths:
    M Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp

  Log Message:
  -----------
  [GFC][Integration] Begin allowing grid item automatic block sizes
https://bugs.webkit.org/show_bug.cgi?id=307465
rdar://170086770

Reviewed by Alan Baradlay.

In 306990@main, we started to allow grid items which required us to
compute an automatic inline size if they were to stretch into their grid
area in that dimension. This patch serves as the counterpart to that by
allowing grid items with automatic block sizes in the same way. If those
items will stretch into their grid area in the block dimension, as
determined by their align-self value, then we allow this content to run
through GFC barring any other restrictions. For now we just check to see
if align-self is normal (the initial value after being resolved against
the parent).

Like the aforementioned patch, we make two main changes:
1.) Move the align-self alignment checks above the height calculation.
2.) Modify the height check to look at the other conditions that the
spec requires in order for grid items to stretch. This means that the
grid item is non-replaced and has no preferred aspect ratio.

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



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

Reply via email to