[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 08:49:01 PST 2012


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





--- Comment #8 from Robert Kroeger <rjkroege at chromium.org>  2012-11-28 08:51:15 PST ---
(In reply to comment #7)
> (From update of attachment 175476 [details])
> 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)?

It would be a p0 bug if they do. synthetic events (i.e. JS created) are forbidden from implementing default actions.

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