aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgockxml2013-04-29 18:14:40 +0100
committerPete Bacon Darwin2013-04-29 18:28:29 +0100
commitb0233a33a1c56ef6c775545f36f6e086def98795 (patch)
tree35a9cf2170e02164655bc5f630eaf4e02e8af67d /lib
parentc3235db9ee89041f4c9c9b39fbf1a41ab866820c (diff)
downloadangular.js-b0233a33a1c56ef6c775545f36f6e086def98795.tar.bz2
fix(jqLite): correct implementation of mouseenter/mouseleave event
Implement mouseenter/mouseleave event referring to http://www.quirksmode.org/js/events_mouse.html#link8 and jQuery source code(not dependent on jQuery). The old implementation is wrong. When moving mouse from a parent element into a child element, it would trigger mouseleave event, which should not. And the old test about mouseenter/mouseleave is wrong too. It just triggers mouseover and mouseout events, cannot describe the process of mouse moving from one element to another element, which is important for mouseenter/mouseleave. Closes #2131, #1811
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions