Closed Bug 1751831 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 32522 - [block-in-inline] Keep a ref count for |PropagateBreakInfo|

Categories

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

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[block-in-inline] Keep a ref count for |PropagateBreakInfo|

When LayoutNGBlockInInline runtime flag is enabled,
|NGBoxFragmentBuilder::AddResult| retrieves the
|NGLayoutResult| of the block-in-inline.

Then when |AddLine| runs, it keeps |NGPhysicalFragment| but
may destroy |NGLayoutResult|, before |PropagateBreakInfo|
needs to use it.

This patch makes sure the ref count is kept until
|PropagateBreakInfo|.

Bug: 1289798
Change-Id: I99b07f26d3b35a8f0ea1d24c1ba8595244a1721d

Reviewed-on: https://chromium-review.googlesource.com/3414176
WPT-Export-Revision: 1b3c224f9f33711b57da267f3ec2e5f525f1a621

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

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