Skip to content

Commit c517d1f

Browse files
committed
fixed conflicts
synced with en version
1 parent 406a594 commit c517d1f

File tree

1 file changed

+0
-12
lines changed
  • 2-ui/3-event-details/3-mousemove-mouseover-mouseout-mouseenter-mouseleave

1 file changed

+0
-12
lines changed

2-ui/3-event-details/3-mousemove-mouseover-mouseout-mouseenter-mouseleave/article.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ That's good for performance, because there may be many intermediate elements. We
5252
5353
On the other hand, we should keep in mind that the mouse pointer doesn't "visit" all elements along the way. It can "jump".
5454
55-
<<<<<<< HEAD
56-
![](mouseover-mouseout-from-outside.svg)
57-
=======
5855
In particular, it's possible that the pointer jumps right inside the middle of the page from out of the window. In that case `relatedTarget` is `null`, because it came from "nowhere":
59-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
6056
6157
![](mouseover-mouseout-from-outside.svg)
6258
@@ -76,21 +72,13 @@ In case of fast mouse movements, intermediate elements may be ignored, but one t
7672
7773
## Mouseout when leaving for a child
7874
79-
<<<<<<< HEAD
80-
<<<<<<< HEAD
81-
![](mouseover-to-child.svg)
82-
=======
83-
An important feature of `mouseout` -- it triggers, when the pointer moves from an element to its descendant.
84-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
85-
=======
8675
An important feature of `mouseout` -- it triggers, when the pointer moves from an element to its descendant, e.g. from `#parent` to `#child` in this HTML:
8776
8877
```html
8978
<div id="parent">
9079
<div id="child">...</div>
9180
</div>
9281
```
93-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
9482

9583
If we're on `#parent` and then move the pointer deeper into `#child`, we get `mouseout` on `#parent`!
9684

0 commit comments

Comments
 (0)