不论鼠标移上被选元素或其子元素,都会触发 mouseover 事件。

鼠标移进被选元素,不管在其内部如何移动,只触发一次 mouseenter 事件。

被触发的 mouseover 事件:

被触发的 mouseenter 事件: