In chrome canary, layerX and layerY are deprecated, but what should we use instead ?
I\'ve find offsetX but it doesn\'t work with Firefox. So to get layerX without w
Are you sure layerX and layerY are deprecated?
In my experience they are still there, mostly because the related properties offsetX and offsetY are not implemented in other browsers:
There is a lot of discussion going on at webkit and mozilla though:
https://bugs.webkit.org/show_bug.cgi?id=21868 and https://bugzilla.mozilla.org/show_bug.cgi?id=674292 In a nutshell, they are both a bit inconclusive whether or not to remove it, so for now they did not remove it.
later IE versions provide an alias that maps to the x and y properties (I am not allowed to post any further links by stack overflow, because of a lack of 'reputation').