[wpt-sync] Sync PR 54775 - [Masonry] Fix crash in OutOfFlowLayoutPart::GetContainingBlockInfo
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
| 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
GridLayoutDatawas not available when placing out-of-flow children
in theSimplifiedLayoutAlgorithm.
This change ensures that the necessaryGridLayoutDatais 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
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
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
- /css/css-grid/masonry/tentative/abspos/row-masonry-positioned-item-dynamic-change.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a7ab4cc2bcab
https://hg.mozilla.org/mozilla-central/rev/60838afc77bd
Description
•