Closed Bug 2066638 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62195 - Fix anchor position to a merged sticky layer

Categories

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

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Fix anchor position to a merged sticky layer

Previously, wen a sticky layer was merged into another, the
corresponding transform node might not be converted to cc. If the
transform node was referenced from an anchor position transform, the
adjustment would fail.

Now ensure the transform node is converted if it's referenced by any
anchor position.

An alternative method could be to translate the element ids of
anchor position adjustment containers to those of the transform nodes
of the merged-into sticky layers, but that would need a bigger change
with limited benefit.

Bug: 547970041
Change-Id: I2efa2af25c0ad7712e7637f7b3d478a8d3717934
Reviewed-on: https://chromium-review.googlesource.com/8265602
WPT-Export-Revision: 6ecb02556c375de6f7be27bb8e7855ae162e8635

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

CI Results

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

Total 513 tests

Status Summary

Firefox

OK : 255
PASS: 1[GitHub] 40[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 13582[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 13754[Gecko-android-em-14-x86_64-opt-geckoview] 13755[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview] 13770[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 13773[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 104[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 129[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 132[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 146[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview] 147[Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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