Closed Bug 1509959 Opened 11 months ago Closed 11 months ago

Add a test for bug 1502010

Categories

(Core :: Panning and Zooming, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

Spinoff to add a test for bug 1502010. The scenario in question is when an element has touch-action: pan-y, and the user does a horizontal pan action on the element, the web content should get a series of pointermove events tracking the motion. Prior to the patch in bug 1502010 we would dispatch a pointercancel pretty much right away. This could result in broken content effects like JS-based carousels not working, etc.
Hm, looks like we are still getting events after the test ends. I thought I handled that better in this second version but I can robustify even more.
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/abbe480903f5
Add a mochitest to verify unconsumed panning events don't trigger a pointercancel. r=botond
https://hg.mozilla.org/mozilla-central/rev/abbe480903f5
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.