Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6ceec5834fa822acaadfa8154955ec85752859d6
https://github.com/WebKit/WebKit/commit/6ceec5834fa822acaadfa8154955ec85752859d6
Author: Yulun Wu <[email protected]>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
M Source/WebCore/layout/formattingContexts/grid/ImplicitGrid.cpp
M Source/WebCore/layout/formattingContexts/grid/ImplicitGrid.h
Log Message:
-----------
[GFC] Update ImplicitGrid to have RowCursors as member variable.
https://bugs.webkit.org/show_bug.cgi?id=307482
<rdar://170096347>
Reviewed by Sammy Gill.
This PR refactors ImplicitGrid to have RowCursors as a member variable.
This will make persisting state across multiple functions easier. Additionally,
The caller should not need to manager the cursors when interacting with the
ImplicitGrid.
* Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp:
(WebCore::Layout::GridLayout::placeGridItems):
* Source/WebCore/layout/formattingContexts/grid/ImplicitGrid.cpp:
(WebCore::Layout::ImplicitGrid::insertDefiniteRowItem):
(WebCore::Layout::ImplicitGrid::findColumnPosition const):
* Source/WebCore/layout/formattingContexts/grid/ImplicitGrid.h:
Canonical link: https://commits.webkit.org/307227@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications