Closed Bug 1987723 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 54775 - [Masonry] Fix crash in OutOfFlowLayoutPart::GetContainingBlockInfo

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 54775 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/54775
Details from upstream follow.

Yanling Wang <yanlingwang@microsoft.com> wrote:

[Masonry] Fix crash in OutOfFlowLayoutPart::GetContainingBlockInfo

This CL addresses a null dereference crash when calling
container_builder_->GetGridLayoutData() in
OutOfFlowLayoutPart::GetContainingBlockInfo. The root cause was that
GridLayoutData was not available when placing out-of-flow children
in the SimplifiedLayoutAlgorithm.
This change ensures that the necessary GridLayoutData is transferred
from the stored layout result, making it available for use in
GetContainingBlockInfo.

Fixed: 443476904
Change-Id: Ideb00e9285414bcdbcf81cdfe4c9b9c5d4ac45e1
Reviewed-on: https://chromium-review.googlesource.com/6926022
WPT-Export-Revision: 6c4c307f235f6f1d8438a77b2da8c2805cb82cda

Component: web-platform-tests → Layout: Grid
Product: Testing → Core

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in before you can comment on or make changes to this bug.