Bug 300934

Summary: [Layout] Harden RenderGrid::gridAreaRangeForOutOfFlow() code for scenarios we haven't completed layout
Product: WebKit Reporter: zak ridouh <zakr>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

zak ridouh
Reported 2025-10-16 15:09:56 PDT
In some situations, we can get into a state where we are attempting to access the `positions` vector in but haven't completed in-flow placement and grid sizing yet. We should add an assert to verify we're not doing anything improperly previously in the code, and fix it.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-16 15:10:02 PDT
zak ridouh
Comment 2 2025-10-16 15:32:29 PDT
EWS
Comment 3 2025-10-28 16:18:24 PDT
Committed 302263@main (c4a30a15887b): <https://commits.webkit.org/302263@main> Reviewed commits have been landed. Closing PR #52516 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.