Open Bug 1972678 Opened 18 hours ago Updated 38 minutes ago

[wpt-sync] Sync PR 53079 - Fix and re-enable WPT drag and drop tests

Categories

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

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Fix and re-enable WPT drag and drop tests

This CL fixes how the WPT drag and drop tests send the input actions to
the browser to make the events coherent with each other.

Currently, all the pointer events are being sent as individual actions
without maintaining context between calls. So, for example, the first
pointerDown event is being sent at the point (0, 0) instead of the
center of the dragElement. By chaining all the pointer events into one
single action, the user agent can execute the events as they were
intended.

Bug: 1353435
Change-Id: I4dcb189dffc71c5cd601e3fb4147c49d72e393b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6635690
Reviewed-by: Olga Gerchikov \<gerchiko@microsoft.com>
Reviewed-by: Robert Flack \<flackr@chromium.org>
Reviewed-by: Mustaq Ahmed \<mustaq@chromium.org>
Commit-Queue: Gaston Rodriguez \<gastonr@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1474599}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
You need to log in before you can comment on or make changes to this bug.