WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
117478
Do not invoke new hover effects or clear existing hover effects on node deletion when cursor is invisible
https://bugs.webkit.org/show_bug.cgi?id=117478
Summary
Do not invoke new hover effects or clear existing hover effects on node delet...
Ryosuke Niwa
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
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!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug