Closed Bug 1790834 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35898 - [anchor-position] Fix when OOFs are not in pre-order

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[anchor-position] Fix when OOFs are not in pre-order

When in a block-fragmentation context, OOF nodes given to
|LayoutFragmentainerDescendants| may not be in the pre-order
of the box tree. This patch sorts the |descendants| in such
cases.

Note the sorting is not cheap that it is limited only when
anchors are on OOF boxes. We haven't found cases where anchors
are on in-flow boxes and |descendants| need to be sorted at
this point.

Bug: 1309178
Change-Id: I2c680a03e97c9525d9f6aa521709c96b55dbafd1

Reviewed-on: https://chromium-review.googlesource.com/3892536
WPT-Export-Revision: dfa47a1077706f366fa234b6a9bcf6b72aecfb96

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d11771a01882
[wpt PR 35898] - [anchor-position] Fix when OOFs are not in pre-order, a=testonly
https://hg.mozilla.org/integration/autoland/rev/651ebdf9598f
[wpt PR 35898] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.