Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6fe1ca7509aad10227e3a96a1a4e42410532c678
https://github.com/WebKit/WebKit/commit/6fe1ca7509aad10227e3a96a1a4e42410532c678
Author: Sammy Gill <[email protected]>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/layout/formattingContexts/grid/GridFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/grid/GridFormattingContext.h
M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
M Source/WebCore/layout/formattingContexts/grid/GridLayout.h
A Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.cpp
A Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.h
M Source/WebCore/layout/formattingContexts/grid/PlacedGridItem.h
Log Message:
-----------
[GFC] Initial implementation of grid item layout.
https://bugs.webkit.org/show_bug.cgi?id=300062
rdar://problem/161860162
Reviewed by Alan Baradlay.
This patch provides the initial implementation of grid item layout as
described in the final step of the "Grid Layout Algorithm,":
https://drafts.csswg.org/css-grid-1/#layout-algorithm
At this point we have resolved the grid area sizes for each grid item.
As a result, we have a definite containing block size for the grid item
so we can resolve the size of the item if needed to provide as
constraints for layout of its contents. For now we keep this as simple
as possible since we will only allow content in which the grid item has
a fixed width and size. This is done via some utility functions that
determine the used width and heights of the items and then pass these
values into our integration API as constraints for the box's formatting
context.
Canonical link: https://commits.webkit.org/300943@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