Event: Add a note about a mouseenter bug in Chrome

Refs https://code.google.com/p/chromium/issues/detail?id=333868
This commit is contained in:
Michał Gołębiowski 2015-01-25 01:09:26 +01:00
parent e905dcd8f3
commit a5e1c9b44c

View File

@ -708,6 +708,10 @@ jQuery.Event.prototype = {
// Do the same for pointerenter/pointerleave and pointerover/pointerout // Do the same for pointerenter/pointerleave and pointerover/pointerout
// Support: Safari<7.0 // Support: Safari<7.0
// Safari doesn't support mouseenter/mouseleave at all. // Safari doesn't support mouseenter/mouseleave at all.
// Support: Chrome 40+
// Mouseenter doesn't perform while left mouse button is pressed
// (and initiated outside the observed element)
// https://code.google.com/p/chromium/issues/detail?id=333868
jQuery.each({ jQuery.each({
mouseenter: "mouseover", mouseenter: "mouseover",
mouseleave: "mouseout", mouseleave: "mouseout",