[wpt-sync] Sync PR 57749 - Suppress pointer event stream when a drag starts
Categories
(Core :: DOM: Core & HTML, task, P4)
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}
| Assignee | ||
Updated•1 day ago
|
| Assignee | ||
Comment 1•1 day ago
|
||
| Assignee | ||
Comment 2•1 day ago
|
||
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
- /html/editing/dnd/events/pointer-suppression.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:OK)- verify that the pointer events stream is correctly suppressed when a drag starts:
TIMEOUT(Chrome:FAIL, Safari:FAIL)
- verify that the pointer events stream is correctly suppressed when a drag starts:
Description
•