Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c4a30a15887b1eef4150b93576e7527d0b574e6a
https://github.com/WebKit/WebKit/commit/c4a30a15887b1eef4150b93576e7527d0b574e6a
Author: Zak Ridouh <[email protected]>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M Source/WebCore/rendering/RenderGrid.cpp
Log Message:
-----------
[Layout] Harden RenderGrid::gridAreaRangeForOutOfFlow() code for scenarios we
haven't completed layout
https://bugs.webkit.org/show_bug.cgi?id=300934
rdar://162810289
Reviewed by Sammy Gill.
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 return something basic
that doesnt access unbuilt data structures on production builds.
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::gridAreaRangeForOutOfFlow const):
Canonical link: https://commits.webkit.org/302263@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications