[wpt-sync] Sync PR 32369 - Clear fragment item association when any fragments have items
Categories
(Core :: Layout: Columns, task, P4)
Tracking
()
| 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
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
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
Comment 3•3 years ago
|
||
| bugherder | ||
Description
•