[Webkit-unassigned] [Bug 96908] New: RenderLayer should not pretend to be hit when it is not

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 04:53:22 PDT 2012


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

           Summary: RenderLayer should not pretend to be hit when it is
                    not
           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 nokia.com


RenderLayer::hitTest currently has quirk where it pretends the layer was hit even if it was not, in case it is the top layer and the mouse-button is down, or just released.

This code is used to ensure the origin frame of a drag-operation accepts the event that is routed to it, and to ensure that hit-tests on a frame-view scroll bar (which are not hit-tested!) hits the document.

The first reason is unnecessary, since the EventHandler would already know that it is capturing drag events and not forwarding them to a deeper frame, and the second reason should be replaced with a more accurate test actually testing if the frameview scroll bar was hit (if participates in hit testing).

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