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

Maciej Stachowiak mjs at apple.com
Thu Jun 10 16:00:31 PDT 2010


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/cf48a019/attachment.html>


More information about the webkit-dev mailing list