[Webkit-unassigned] [Bug 10809] New: evt.x and evt.y are not correctly supported

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Sep 10 20:33:19 PDT 2006


           Summary: evt.x and evt.y are not correctly supported
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: http://www.gtalbot.org/BrowserBugsSection/Opera9Bugs/Ope
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: browserbugs at gtalbot.org

x and y properties, as defined in MSIE's DHTML object model, will return the
offset of the mouse (when the event occured) from within a relatively
positioned element, otherwise (if there are no relatively positioned containing
block within the containment hierarchy) from its offsetParent.

Steps to reproduce:
1- Load provided URL
2- hover the mouse over each of the 4 corners of the any/both of the green lime

Actual results in Swift 0.1
The returned values are as if the lime green rectangles were not relatively
positioned elements.

Expected results
The returned coordinates in the input should correspond to the values written
in each corner. E.g. event.x should be 0 and event.y should be 100 when
hovering the mouse over the bottom left corner.

"Sets or retrieves the y-coordinate, in pixels, of the mouse pointer's position
relative to a relatively positioned parent element."

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