[Webkit-unassigned] [Bug 49057] Move whatever make sense from "touch adjuster" implementation to WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 26 08:45:13 PST 2010


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





--- Comment #8 from Antonio Gomes <tonikitoo at webkit.org>  2010-11-26 08:45:12 PST ---
I generally think it is a good idea. Some comments:

> My current idea is:
> 
> 1) if the touch event reports a rect:

Some devices like the used to report the a rect, but the wrong rect. Using can be dangerous in cases like this, but it can not be prevented maybe :(

> -if javascript does not use the event
>  -use TouchAdjuster to find the best click position
>  -send a fake mouse event to that position
> -ignore the associated mouse event

This sounds reasonable. But remember we sould just do that if it is a single touch event.

> 2) if the touch event does not report a rect:
>  -create a fake rect for the touch event in the graphicswebview and send the touch event

That would use the platform plugin values, right?

> 3) if the platform is dumb and does not report touch event
>  -create fake touch event in graphicswebview based on the platform plugin and back to (1).

Hum ... /me thinking about this. Remember: mouse events are not the same as touch event, and this could break web compatibility in many sites.

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