Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b4a444378c79ddb62f086fd2888ddd4cf8d8cdb0
https://github.com/WebKit/WebKit/commit/b4a444378c79ddb62f086fd2888ddd4cf8d8cdb0
Author: Sammy Gill <[email protected]>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/GridFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/grid/GridItemPlacer.cpp
M Source/WebCore/layout/formattingContexts/grid/GridItemPlacer.h
M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
M Source/WebCore/layout/formattingContexts/grid/GridLayout.h
Log Message:
-----------
[GFC] Move Grid item placement logic to GridFormattingContext.
https://bugs.webkit.org/show_bug.cgi?id=323809
rdar://problem/187053395
Reviewed by Alan Baradlay.
We currently run grid item placement as part of GridLayout::layout. We
recently refactoring this logic to live in its own class so as part of
this refactoring let's move it to GridFormattingContext instead. This is
part of breaking out the core grid layout logic into modular pieces and
is one step towards that.
As part of this we can also move the construction of the ImplicitGrid
into being part of the grid item placement code since there is no reason
currently for the ImplicitGrid to live outside of this scope.
No behavior change.
Canonical link: https://commits.webkit.org/321068@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications