Bug 260550

Summary: pointerevent_after_target_removed.html?mouse WPT is failing due to redundant pointerenter and mouseenter events firing for parent of removed child underneath mouse
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: UI EventsAssignee: Lily Spiniolas <lily_spiniolas>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, lily_spiniolas, ntim, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2023-08-22 14:46:37 PDT
I suspect we must opine about this WPT at https://github.com/web-platform-tests/interop/issues/380 before proceeding with a real fix here.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-22 14:46:49 PDT
Tim Nguyen (:ntim)
Comment 2 2023-09-23 10:45:18 PDT
Looks like we fail this because we omit too many events. For the first subtest: - pointerout@child,pointerleave@child need to check whether the child has been removed before emitting. seems like a trivial change to do. - pointerover@parent,pointerenter@parent are extra events being emitted. I suspect the other subtests are similar.
Lily Spiniolas
Comment 3 2025-09-21 21:19:41 PDT
EWS
Comment 4 2025-09-23 10:39:16 PDT
Committed 300407@main (247b539986bd): <https://commits.webkit.org/300407@main> Reviewed commits have been landed. Closing PR #51052 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.