Open Bug 967221 Opened 11 years ago Updated 3 years ago

Firefox onDrag Event is missing correct position values

Categories

(Core :: DOM: Events, defect, P3)

26 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: madawi, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131206152142 Steps to reproduce: Create an event listener for "ondrag" document.addEventListener('drag', function(e) { console.log(e.clientX, e.clientY); }, false); The problem is also described here: http://stackoverflow.com/questions/887316/ http://stackoverflow.com/questions/13110349/ Actual results: Always the same results e.layerX = 17895698 e.layerY = 17895698 e.clientX = 0 e.clientY = 0 e.pageX = 0 e.pageY = 0 e.screenX = 0 e.screenY = 0 Expected results: Normal position data should have been included, like: e.pageX = 157 e.pageY = 126 e.screenX = 222 e.screenY = 213
OS: Linux → All
Hardware: x86_64 → All
I just encountered this bug. Seems like a trivial thing to fix for someone familiar with the code base. Anyone familiar with the code base, can point me in the right direction to fix this? I am surprised it has taken so long to fix something like this
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.