[Webkit-unassigned] [Bug 102857] Fix a problem that GestureTap event is not converted to mouse event on the top frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 27 16:09:10 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102857





--- Comment #6 from Min Qin <qinmin at chromium.org>  2012-11-27 16:11:23 PST ---
(From update of attachment 175476)
View in context: https://bugs.webkit.org/attachment.cgi?id=175476&action=review

>> Source/WebCore/page/EventHandler.cpp:2612
>>          return handleGestureTap(gestureEvent);
> 
> Can you just check to see if this is in the mainFrame, instead of maintaining [mis-styled] gestureTapOriginatingFrame? i.e.
> 
>     return (m_frame->page() && m_frame->page()->mainFrame() != m_frame) ? handleGestureTap(gestureEvent) : false;

No. If javascript send the touch event to a particular frame, the touch event shouldn't be converted to mouse events in the main frame, but should be converted in the frame where the touch events get dispatched.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list