[Webkit-unassigned] [Bug 40197] Enhance the hit testing to take a rectangle instead of a point

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 10 15:19:26 PDT 2010


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





--- Comment #13 from Grace Kloba <klobag at gmail.com>  2010-06-10 15:19:23 PST ---
(In reply to comment #12)
> By the way, one caveat with collecting multiple nodes is that you may need to distinguish between hit test layers (e.g., background of one element vs. foreground of another).  If I'm understanding this right, the patches just collect the nodes and don't really distinguish between a foreground hit and a background hit.  I suspect that information may end up being needed but am not sure.

That is an interesting point. The hit test layer info may be useful when processing the nodes. But I don't know yet. 

The current traversing honors when the node is hit. So the foreground will be added first. And if background is also hit, it will be ignored.

BTW, I think the early comment of HashSet vs. Vector is valid. I will change the code in the next path.

I would like to get more feedback before providing the next path.

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