Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb4b1f70d28aa89885102b17bddccf7bf2b1fcb2
      
https://github.com/WebKit/WebKit/commit/cb4b1f70d28aa89885102b17bddccf7bf2b1fcb2
  Author: Sammy Gill <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-positioned-descendant-auto-fill-tracks-001-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-positioned-descendant-auto-fill-tracks-001.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-positioned-descendant-auto-fill-tracks-002-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-positioned-descendant-auto-fill-tracks-002.html
    M Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp

  Log Message:
  -----------
  [GFC][Integration] Allow grids with auto-fill tracks
https://bugs.webkit.org/show_bug.cgi?id=327268
rdar://182549046

Reviewed by Alan Baradlay.

Now that we have built up the infrastructure in GFC to allow some form
of auto repeat tracks we should be able to allow some content to run
through it. Specifically, we will be allowing grids that have
repeat(auto-fill, ...) tracks to run through GFC since auto-fit will
take a bit more work.

The only caveat is that for rows we will still not allow tracks that
have percentages since we are still ironing out a few wrinkles with that
type of content.

It looks like we have a decent amount of WPT coverage with this feature
running through GFC! One gap I closed is related to an OOF content where
the containing block is a grid so I added some tests for that as well.

* Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp:
(WebCore::LayoutIntegration::hasUnsupportedRepeatEntry): Split out of
hasUnsupportedGridTrackListEntry so repeat() and auto-repeat track lists share 
it.
(WebCore::LayoutIntegration::hasUnsupportedGridTrackListEntry): Allow 
auto-fill, but keep
rejecting auto-fit.
(WebCore::LayoutIntegration::gridLayoutAvoidanceReason): Check the 
auto-repeated tracks for
percentage rows too.

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



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

Reply via email to