[Webkit-unassigned] [Bug 16960] New: webView:decidePolicyForNavigationAction:request:frame:decisionListener returns incorrect value for WebActionElementKey -> WebElementDOMNode key in policy when the frame's scroll position is different than the initial value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 21 10:59:37 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16960

           Summary: webView:decidePolicyForNavigationAction:request:frame:de
                    cisionListener returns incorrect value for
                    WebActionElementKey -> WebElementDOMNode key in policy
                    when the frame's scroll position is different than the
                    initial value
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh Intel
               URL: None
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bhjackson at gmail.com


I have a delegate set up to catch links when the user clicks them in a WebView.

This delegate pulls the value of [[policy objectForKey:@"WebActionElementKey"]
objectForKey:@"WebElementDOMNode"] to determine the node which was clicked,
then executes an action based on the result.

If the user scrolls the WebView down one or more lines, the WebView appears to
not take into account the vertical offset caused by the scrolling, and instead
of containing the node of the link which was clicked, the dictionary contains
the node which would be returned if the user had clicked above the area which
was actually clicked.

This bug is consistently reproduceable.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list