Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e1d42ab54c8eea4924ce45f3889a20f38c50def9
https://github.com/WebKit/WebKit/commit/e1d42ab54c8eea4924ce45f3889a20f38c50def9
Author: Sammy Gill <[email protected]>
Date: 2026-02-08 (Sun, 08 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/GridFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
M Source/WebCore/layout/formattingContexts/grid/PlacedGridItem.cpp
M Source/WebCore/layout/formattingContexts/grid/PlacedGridItem.h
Log Message:
-----------
[GFC] Add border and padding to PlacedGridItem
rdar://169836013
https://bugs.webkit.org/show_bug.cgi?id=307209
Reviewed by Vitor Roriz.
We currently get the used border and padding values from BoxGeometry
inside of GridLayout::layoutGridItems, however, we will need these
values during track sizing. If we place these values directly onto
PlacedGridItem when we construct it then we can use the values in both
places without having to consult BoxGeometry multiple times.
Canonical link: https://commits.webkit.org/307057@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications