Closed Bug 2087352 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64220 - [scroll-snap] Apply the multicol scroll origin to ::column snap areas

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

David Liu <lcdavid@google.com> wrote:

[scroll-snap] Apply the multicol scroll origin to ::column snap areas

A snap area rect is mapped to the snap container with
kIgnoreScrollOffset, which adds the scroll origin of each scroll
container the mapping steps into. For a normal snap area, the mapping
starts at the snap area, inside the scroll container. For a ::column,
it starts at the multicol container itself, so if the multicol
container is a scroll container, its scroll origin is never added.

In RTL, the scroll origin is non-zero, so every column snap position
was off by -ScrollOrigin() and clamped to the far end: a multicol
carousel opened on its last column and always snapped back to it.

Bug: 576762163
Change-Id: I7cf2e3dffd6e891bd5841fe6f3be3be9f0a900e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8639029
Commit-Queue: David Liu \<lcdavid@google.com>
Reviewed-by: Robert Flack \<flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1727098}

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 215 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 179[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] 180[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: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 728[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 753[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 754[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]
FAIL: 4[GitHub] 97[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] 99[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 100[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 1
FAIL: 3

Safari

OK : 1
FAIL: 4

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: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.