madrobby/zepto — Issue #415: Webkit's event.layerX and event.layerY issue
Author: silvenon
Created: 2012-03-01 12:29:32+00:00
State: open

Recently, Webkit started showing errors concerning layerX and layerY. Notices, actually.

event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

jQuery already removed the usage of those two. The notice happens on Chromium when I click the link after I used the .live() method.

// HTML
A link

// JavaScript (starting when DOM's ready)
$('a').live('click', function() { console.log('Clicked!') })

I've searched through Zepto's code, though, and I didn't find any layerX/Y...