[Webkit-unassigned] [Bug 8707] New: event.clientX and event.clientY should be relative to the viewport, not the canvas

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue May 2 15:51:34 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8707

           Summary: event.clientX and event.clientY should be relative to
                    the viewport, not the canvas
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mjs at apple.com


When the main view is scrolled, event.clientX and event.clientY should give
coordiates relative to the viewport, not the canvas. In other words, if you
mouse the same distance from the favorites bar above the content view, you
should get the same y coordinate, regardless of how far the page is scrolled.
Opera, IE and Mozilla all agree on this, Safari does not.

See forthcoming test case.


-- 
Configure bugmail: http://bugzilla.opendarwin.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