Open Bug 2016488 Opened 1 day ago Updated 21 hours ago

[wpt-sync] Sync PR 57749 - Suppress pointer event stream when a drag starts

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Gastón Rodríguez <gastonr@microsoft.com> wrote:

Suppress pointer event stream when a drag starts

According to the HTML spec, when a drag starts the user agent should
send the appropriate events to the drag source to indicate that the
pointer event stream has been ended and that it shouldn't expect any
more events from this pointer. The events to be sent are "pointerout",
"pointercancel" and "pointerleave".

This code had been partially implemented for mouse events, and this CL
corrects the implementation and expands it to gesture based drags as
well.

Bug: 452372355
Change-Id: I64020514b01d25cf45dc3108e22554abf76e4d03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7049213
Reviewed-by: Mustaq Ahmed \<mustaq@chromium.org>
Commit-Queue: Gaston Rodriguez \<gastonr@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1584020}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 2

Chrome

OK : 1
FAIL : 1

Safari

OK : 1
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

You need to log in before you can comment on or make changes to this bug.