Bug 308595

Summary: [GFC][Cleanup] Store used gap values inside GridLayoutState
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sammy Gill
Reported 2026-02-24 16:37:21 PST
Right now we recompute the used gap values multiple times during layout. These values never change so we can just compute them once inside GridFormattingContext and pass it around using GridLayoutState
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-24 16:37:29 PST
Sammy Gill
Comment 2 2026-02-24 16:46:24 PST
EWS
Comment 3 2026-02-27 08:26:54 PST
Committed 308340@main (e35185a9fcc2): <https://commits.webkit.org/308340@main> Reviewed commits have been landed. Closing PR #59376 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.