What steps will reproduce the problem?
1. Add goog.require('goog.events');
2. Run in Chrome
What is the expected output? What do you see instead?
Expected output is nothing. Currently, an unnecessary warning message is
generated in the console "event.layerX and event.layerY are broken and
deprecated in WebKit. They will be removed from the engine in the near future."
What version of the product are you using? On what operating system?
Browser: Chrome 16 / Mac OSx / Closure
Please provide any additional information below.
Get rid of the fallbacks that point to event.layerX/Y in
"closure/goog/events/browserevents.js":
Line 270: this.offsetX = e.offsetX !== undefined ? e.offsetX : e.layerX;
Line 271: this.offsetY = e.offsetY !== undefined ? e.offsetY : e.layerY;
jQuery has also addressed this: http://bugs.jquery.com/ticket/10531
Screenshot of warning message: http://cl.ly/041w2Y451V3K0t0a0W1s
Original issue reported on code.google.com by clarke.d...@gmail.com on 15 Dec 2011 at 7:12
Original issue reported on code.google.com by
clarke.d...@gmail.com
on 15 Dec 2011 at 7:12