Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 63f8ee0d10fdc5595b592f7ce77c301fe4ca3d59
https://github.com/WebKit/WebKit/commit/63f8ee0d10fdc5595b592f7ce77c301fe4ca3d59
Author: Sammy Gill <[email protected]>
Date: 2025-09-22 (Mon, 22 Sep 2025)
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] Inserting items within the grid which fit should not resize the grid.
https://bugs.webkit.org/show_bug.cgi?id=299245
rdar://161011615
Reviewed by Alan Baradlay.
Currently, if we try to insert an item which already fits within the
explicit grid, we end up accidentally adding new columns in the grid when
there is no reason to. This is because using Vector::insert will add the
item at the desired index and shuffle the rest of the content over,
increasing the size. The desired outcome is instead to replace the
contents of that cell with the unplaced item we are positioning.
Canonical link: https://commits.webkit.org/300322@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes