[wpt-sync] Sync PR 62801 - Blink: Select aligned snap targets in flat tree order
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62801 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62801
Details from upstream follow.
Michael Reeves <michael.reeves077@gmail.com> wrote:
Blink: Select aligned snap targets in flat tree order
When multiple snap areas align at the same position, CSS Scroll Snap
removes ancestor areas and selects the first remaining area in tree
order. Blink ordered areas by DOM layout preorder and inferred ancestry
from rectangle containment. This could repeatedly select a later slotted
sibling.Order snap areas by flat tree position and pass each area's nearest
snap-area ancestor to cc. This distinguishes descendants from
geometrically contained siblings and fixes the WPT.Bug: 543919183
Change-Id: I3576b3fba8c67367cf984e94cdbb0dc2ba32e2e3
Reviewed-on: https://chromium-review.googlesource.com/8238951
WPT-Export-Revision: 2a4e87b22bd1665aa472aafad5c59b7013828aa1
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=95420
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 17 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 17[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 42[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Comment 4•2 months ago
|
||
| bugherder | ||
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•