Closed Bug 2080043 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63417 - [css-scroll-snap] Use scrollBy() in scroll-snap-type-pair-007

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

David Liu <lcdavid@google.com> wrote:

[css-scroll-snap] Use scrollBy() in scroll-snap-type-pair-007

scroll-snap-type-pair-007 relied on a synthesized touch fling, but
flings generated through ChromeDriver don't reach the compositor, so
the test can't reliably exercise fling behavior in WPT.

Replace the fling with an instant 2D scrollBy(). scrollBy() snaps with
a displacement DirectionStrategy, which exercises the same 2D
cosine-similarity conflict resolution under scroll-snap-type: pair,
synchronously and without testdriver. The step is kept small so that
both candidates remain mutually visible and compete.

The test passes under run_wpt_tests.py, including 100/100 runs of
headless_shell_wpt on Windows Swarming bots, so remove its flaky Win
expectation.

Bug: 542706103
Change-Id: I3f67f2399724431ea34a3a4470bddefb2aa64e8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8518797
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: David Liu \<lcdavid@google.com>
Cr-Commit-Position: refs/heads/main@{#1714538}

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
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 214 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 178[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] 179[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: 1[GitHub] 93[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] 95[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 96[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 1

Safari

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