e.pageX/e.clientX and e.pageY/e.clientY are always 0 for ondrag & ondragend events
As the Title says, I can't get the Position of both events, because e.pageX/e.clientX and e.pageY/e.clientY are always null. It works perfectly in Chromium, but not with Firefox. Is this just not implemented yet, or ist this a Bug?
This is my Code: htmlElement.addEventListener('drag', handleDrag, false); function handleDrag(e) { console.log('position: x=' + e.pageX + ' y=' + e.pageY); }
Additional System Details
Installed Plug-ins
- Shockwave Flash 11.2 r202
- Version 2.0.3 Twoflower, copyright 1996-2011 VideoLAN and Authorshttp://www.videolan.org/vlc/
Application
- User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
