[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
Wed Nov 28 07:36:20 PST 2012


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





--- Comment #7 from Sadrul Habib Chowdhury <sadrul at chromium.org>  2012-11-28 07:38:34 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.

Javascript can't send a *gesture* event to a particular frame, can it? Does any of the platforms convert JS-created touch-events into gesture-events (I know that chromium does not)?

-- 
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