Closed Bug 271129 Opened 21 years ago Closed 21 years ago

cannot get mouse cursor position in a windows using javascript's .x, .y or .offsetX, .offsetY functions

Categories

(Core :: DOM: Events, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: meriu, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Firefox/1.0 it works in ie 6 Reproducible: Always Steps to Reproduce: 1. 2. 3.
event.offsetX/Y and event.x/y are not supported by Mozilla and those event properties in MSIE 6 do not indicate the cursor position in a window but rather within the target element for the former and within a relatively positioned element in the latter. NS 4.x used to support event.x/y in a different way but these were WONTFIX in bug 116475. Resolving as INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
*** Bug 288717 has been marked as a duplicate of this bug. ***
*** Bug 288717 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.