Closed Bug 1870853 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 43726 - Clone and update multicol fragments properly when adding OOFs.

Categories

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

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Clone and update multicol fragments properly when adding OOFs.

If the original inner multicol container had descendant multicols with
pending OOFs, make sure that the cloned and updated multicol also
reflects this state.

For that to work, we also need to allow more OOF descendant propagation
when cloning and updating fragmentainers via SimplifiedLayoutAlgorithm.
Remove the disable_oof_descendants_propagation_ flag, and instead block
such propagation for OOF fragments that are inside a fragmentainer. Such
fragments are special, and the propagation is handled manually in
OutOfFlowLayoutPart::AddOOFToFragmentainer(). All other fragments should
propagate normally.

Bug: 1501713
Change-Id: Ib56750bb63a0d0894eef4d2979d24b93bdf9a761

Reviewed-on: https://chromium-review.googlesource.com/5134653
WPT-Export-Revision: e5b9df286d29235f8d9a8c5b176ebc27e9791285

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

CI Results

Ran 11 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6094f64dd2f [wpt PR 43726] - Clone and update multicol fragments properly when adding OOFs., a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4c4c2a0c205 [wpt PR 43726] - Clone and update multicol fragments properly when adding OOFs., a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.