WebKit issues with event.layerX and event.layerY

What’s going on!?

“jQuery probably copies those properties into the jQuery object.” You’re exactly correct, so it sounds like you already know! 🙂

Hopefully jQuery will update their code to stop touching that, but at the same time WebKit should have known better than to log a deprecation warning on an event (at least in my opinion). One mousemove handler and your console explodes. 🙂

Here’s a recent jQuery ticket: http://bugs.jquery.com/ticket/10531

UPDATE: This is fixed now if you upgrade to jQuery 1.7.

Please note that if upgrading jQuery doesn’t fix the issue for you it may have something to do with used extensions / plugins as Jake stated in his answer.

Leave a Comment