Closed Bug 1904397 Opened 5 months ago Closed 5 months ago

[wpt-sync] Sync PR 46880 - Another fix to expectations for pointerevents after slot changes.

Categories

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

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mustaq Ahmed <mustaq@google.com> wrote:

Another fix to expectations for pointerevents after slot changes.

All composed events at parent are additionally dispatched to
shadow_root. This fixes a crack in the previous CL [1] that omitted
pointerover/out events.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5640796
Manual test link: https://codepen.io/mustaqahmed/full/BaeRvdZ

Bug: 40156858
Change-Id: Ifccc48a066620b672030aee9be937b75d7e88f54
Reviewed-on: https://chromium-review.googlesource.com/5644338
WPT-Export-Revision: ad0ca06febd6dcbabb0f4dea97d44836b176db16

PR 46880 applied with additional changes from upstream: d2018a9e540d6aef46eee02461882dbb1c432a7c
Component: web-platform-tests → DOM: Events
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 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_from_slot.html?mouse [wpt.fyi]
    • Pointer events from mouse received before/after slot removal at pointerdown: FAIL (Chrome: FAIL, Safari: FAIL)
    • Pointer events from mouse received before/after slotted-child removal at pointerdown: FAIL (Chrome: FAIL, Safari: FAIL)
    • Pointer events from mouse received before/after slot removal at pointerup: FAIL (Chrome: FAIL, Safari: FAIL)
    • Pointer events from mouse received before/after slotted-child removal at pointerup: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5ff6f6b8212 [wpt PR 46880] - Another fix to expectations for pointerevents after slot changes., a=testonly https://hg.mozilla.org/integration/autoland/rev/455b67f54550 [wpt PR 46880] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.