Closed Bug 1803622 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37256 - [Interop] pointerenter/leave events after child element is removed

Categories

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

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mustaq Ahmed <mustaq@google.com> wrote:

[Interop] pointerenter/leave events after child element is removed

A removed element shouldn't cause either a mouseenter or a
pointerenter event to be fired to the parent element. This test
asserts this behavior as implied by the UIEvent spec. Unfortunately
the major browsers don't agree here!

Bug: 1147998
Change-Id: Ia8ede1c121d6f62bda41b7675683e077d20af00f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4064304
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Commit-Queue: Mustaq Ahmed \<mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1078126}

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

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
FAIL: 4

Safari

OK : 1
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /pointerevents/pointerevent_after_target_removed.html [wpt.fyi]
    • pointer events at parent after child is removed at pointerdown: FAIL (Chrome: FAIL, Safari: FAIL)
    • mouse events at parent after child is removed at pointerdown: FAIL (Chrome: FAIL, Safari: FAIL)
    • pointer events at parent after child is removed at pointerup: FAIL (Chrome: FAIL, Safari: FAIL)
    • mouse events at parent after child is removed at pointerup: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02ae19b1c1a9 [wpt PR 37256] - [Interop] pointerenter/leave events after child element is removed, a=testonly https://hg.mozilla.org/integration/autoland/rev/a931156bbefc [wpt PR 37256] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.