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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 18:15:27 PDT 2010


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

           Summary: Enhance the hit testing to take a rectangle instead of
                    a point
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
        OS/Version: Android
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: klobag at gmail.com
                CC: android-webkit-unforking at google.com


As discussed in the following thread, there is a need, especially on the mobile browsers, to support hit testing with a rectangle instead of just a point.

https://lists.webkit.org/pipermail/webkit-dev/2010-June/013055.html

We would like to explore in this area. The idea is to modify the HitTestResult to take a padding. If it is 0, it is the current point based hit testing. If it is non-zero, hit test logic will continue searching when it finds a candidate unless the rectangle is fully enclosed by the candidate. The result will be a list of Node in the z-order they are hit-tested. The caller will decide how to process them.

We have some working in progress code. We can provide a patch for easy discussion.

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