[webkit-dev] Proposal: Rect based HitTest for a better touch experience

David Hyatt hyatt at apple.com
Thu Jun 10 16:41:24 PDT 2010


Yes, I got schooled on this days ago, but welcome to the party! ;)

dave

On Jun 10, 2010, at 6:00 PM, Maciej Stachowiak wrote:

> 
> On Jun 2, 2010, at 1:22 PM, David Hyatt wrote:
> 
>> 
>> I really don't think hit testing needs to be modified to get what you want.  You can do a scattershot sampling using multiple candidate points within the rect and apply whatever heuristics you want to choose a node.  I'm also not convinced that we should be complicating core hit testing code in this way, since I suspect this is one of those areas where mobile platforms will each want to do their own slightly different thing anyway.
> 
> I suspect hit testing a rect against the render tree could be done more efficiently than scattershot sampling.
> 
> Regards,
> Maciej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100610/35ee2a6a/attachment.html>


More information about the webkit-dev mailing list