[Webkit-unassigned] [Bug 11705] New: PlatformMouseEvent "current event" handling is bogus
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 28 11:59:49 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11705
Summary: PlatformMouseEvent "current event" handling is bogus
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: marv.decker at gmail.com
The constructor PlatformMouseEvent::PlatformMouseEvent(const CurrentEventTag&)
gets the current event from nsApp and creates a mouse event from it. However,
this is only valid when the currently handled event is a mouse event. When it
is not a mouse event, the mouse position will be undefined in the nsEvent.
Usually, this code is called from mouse event handlers so that's fine.
Currently, it is also called from the hoverTimer callback in the EventHandler.
The current event is likely to not be a mouse event, yet a PlatformMouseEvent
is still created from the current event.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list