[Webkit-unassigned] [Bug 101915] New: hitTestResultAtPoint does two hit-tests if called on non main frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 03:05:26 PST 2012


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

           Summary: hitTestResultAtPoint does two hit-tests if called on
                    non main frame
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: allan.jensen at digia.com
            Blocks: 98139


EventHandler::hitTestResultAtPoint performs a second hit-test if it hits something and it was not started on the main-frame. Due to another quirk in RenderLayer hit-tests will in most cases pretend to hit the frame. 

This leads to not only needlessly performing multiple test, but having rare cases where the returned empty result is not performed from the perspective of the main frame.

Changing the logic to always redirect to the main-frame will save one of the hit-tests in most cases, and simplify the hitTestResult to always being started in the context of the main-frame. The last part is needed to clarify the hitTestResult interface in bug #98139

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