diff options
| author | gockxml | 2013-04-29 18:14:40 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-04-29 18:26:32 +0100 |
| commit | 06f2b2a8cf7e8216ad9ef05f73426271c2d97faa (patch) | |
| tree | e9890deaf8d9f4f66868df33cda43cb9ec34585a /src/Angular.js | |
| parent | 0985a37376314616ac2b777bddd8bc07e1be7af7 (diff) | |
| download | angular.js-06f2b2a8cf7e8216ad9ef05f73426271c2d97faa.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 'src/Angular.js')
0 files changed, 0 insertions, 0 deletions
