Bug 117478 - Do not invoke new hover effects or clear existing hover effects on node deletion when cursor is invisible
Summary: Do not invoke new hover effects or clear existing hover effects on node delet...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-06-10 21:04 PDT by Ryosuke Niwa
Modified: 2022-08-27 01:40 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-06-10 21:04:33 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/a7b2ee9c276ebd3512cca22cb9cefacf86deb09a

If the mouse cursor is invisible and the currently
hovered node is deleted from the DOM, then there should
be no new hover effects invoked for any remaining nodes
in the page (i.e., those that happen to become positioned
underneath the last known mouse position as a result of
the deletion). Any existing hover effects for the ancestors
of the deleted node should be preserved.
Comment 1 Ahmad Saleem 2022-08-27 01:40:39 PDT
I took test cases from Chromium / Blink patch and changed them into JSFiddle:

Test Case - hover-after-dom-delete.html - https://jsfiddle.net/mLpv1g0c/show

Test Case - hover-after-dom-delete-child-invisible-cursor.html - https://jsfiddle.net/ze9bg37x/show

In both cases, all browsers (Safari Technology Preview 152, Chrome Canary 107 and Firefox Nightly 106) behave same and show "PASS".

I am going to mark this as "RESOLVED CONFIGURATION CHANGED", if it is not fixed, please reopen with updated test case. Thanks!