Closed Bug 1750069 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32369 - Clear fragment item association when any fragments have items

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 32369 into mozilla-central (this bug is closed when the sync is complete).

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

Koji Ishii <kojii@chromium.org> wrote:

Clear fragment item association when any fragments have items

Before this change, |ReplaceLayoutResult| clears associations
only when the first fragment has items.

Block fragmentation can create items only for second or later
fragments; e.g.:
results[0] does not have |NGFragmentItems|.
results[1] has |NGFragmentItems|.
This patch changes |ReplaceLayoutResult| to clear associations
in such cases.

Also changes |ClearLayoutResults| for the consistency.

Bug: 1283250
Change-Id: I42411bcbfdb2370d58f1360d22846dad6d94dd24
Reviewed-on: https://chromium-review.googlesource.com/3386495
WPT-Export-Revision: 4a02e0ddc4105673527f06f55e7ebfe41ef37d67

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: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.