diff options
| author | gockxml | 2013-04-29 18:14:40 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-04-29 18:28:29 +0100 | 
| commit | b0233a33a1c56ef6c775545f36f6e086def98795 (patch) | |
| tree | 35a9cf2170e02164655bc5f630eaf4e02e8af67d /lib | |
| parent | c3235db9ee89041f4c9c9b39fbf1a41ab866820c (diff) | |
| download | angular.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
