Bug 145674

Summary: WK2 drag cancel inadvertently causes :hover styles to happen on an element not under mouse
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: enrica, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Joseph Pecoraro 2015-06-04 16:47:33 PDT
* SUMMARY
WK2 drag cancel inadvertently causes :hover styles to happen on an element not under mouse

* STEPS TO REPRODUCE
1. Open <http://html5demos.com/drag> in WebKit2 MiniBrowser window
2. Start a very small drag on "One" and drop on itself
  => "Three" will show its mouse hover state, even though we are not mousing over it.

* NOTES
- Doesn't happen with a WebKit1 window.
Comment 1 Radar WebKit Bug Importer 2015-06-04 16:47:46 PDT
<rdar://problem/21251790>
Comment 2 Joseph Pecoraro 2015-06-04 16:50:55 PDT
I can't reproduce this in Safari at the moment. Only MiniBrowser. Maybe this is a WKWebView issue?