Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56e58e729d54a8bb964e7dab7ca1aa4540ae8579
      
https://github.com/WebKit/WebKit/commit/56e58e729d54a8bb964e7dab7ca1aa4540ae8579
  Author: Yulun Wu <[email protected]>
  Date:   2025-12-06 (Sat, 06 Dec 2025)

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

  Log Message:
  -----------
  [GFC] Relax GFC constraints to reflect support for row auto-flow.
https://bugs.webkit.org/show_bug.cgi?id=302902
<rdar://165099744>

Reviewed by Sammy Gill.

This PR implements implicit grid growth when items with definite
row positions cannot fit in the available columns. This change allows
the GFC to correctly process items locked to a given row.

This PR updates the constraints to reflect support for items locked to
a given row and adds explicit validation that GFC requires at least
one explicit position in both row and column dimensions.

Combined changes:
* Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp:
(WebCore::Layout::GridLayout::trackSizingFunctions):
* Source/WebCore/layout/formattingContexts/grid/ImplicitGrid.cpp:
(WebCore::Layout::ImplicitGrid::insertDefiniteRowItem):
(WebCore::Layout::ImplicitGrid::findFirstAvailableColumnPosition const):
* Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp:
(WebCore::LayoutIntegration::gridLayoutAvoidanceReason):
(WebCore::LayoutIntegration::printReason):

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



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

Reply via email to