Closed Bug 2060485 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61715 - paint: Lock touch panning to its initial dominant axis

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Euclid Ye <yezhizhenjiakang@gmail.com> wrote:

paint: Lock touch panning to its initial dominant axis

Describe the changes that this pull request makes here. This will be the commit message
and it should go at the top of the pull request.

Testing:
New Passing in:
touch-action:pan-x with right,down swipe
touch-action:pan-y with down,right swipe

  • New failure in:
    touch-action:auto with right,down swipe
    touch-action:auto with down,right swipe

The passing/failure are accidental, as we don't support touch-action yet, which controls gesture within element's region.

For right, down, we would now only move horizontally. This matches pan-x, but fails auto which expects both axis to move.

Also added a new test to match our issue. This reuses logica introduced in https://github.com/web-platform-tests/wpt/pull/57804

Fixes: #<!-- nolink -->46954

Reviewed in servo/servo#46983

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

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

Total 260 tests

Status Summary

Firefox

OK : 1[GitHub] 238[Gecko-windows11-64-25h2-debug] 239[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-opt]
PASS : 2242[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] 2246[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]
FAIL : 2[GitHub] 130[Gecko-windows11-64-25h2-debug] 131[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 135[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]
PRECONDITION_FAILED: 84
TIMEOUT : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 2[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]
ERROR : 10
NOTRUN : 10

Chrome

OK : 1
PASS : 2

Safari

OK : 1
FAIL : 2

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: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.