Bug 7589 - Mouse moved events do not work in DumpRenderTree
Summary: Mouse moved events do not work in DumpRenderTree
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 04:42 PST by mitz
Modified: 2006-03-05 02:11 PST (History)
0 users

See Also:


Attachments
Patch (7.83 KB, patch)
2006-03-04 04:54 PST, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-03-04 04:42:42 PST
eventSender.mouseMoveTo() does not propagate a mouse moved event to the frame. This makes it difficult to test onmouseover/onmouseout and :hover (for the latter, I had to add a "click" to the test script in order for the mouse position to reach the frame).

I am going to attach a patch.
Comment 1 mitz 2006-03-04 04:54:22 PST
Created attachment 6842 [details]
Patch

Note that mouse moved events will only be received following initial layout, since that's when WKSetNSWindowShouldPostEventNotifications is called.
Comment 2 Darin Adler 2006-03-04 11:23:55 PST
Comment on attachment 6842 [details]
Patch

r=me