Skip to content

Commit

Permalink
Fix typo in "Element: mouseleave event" article (mdn#35846)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcki authored Sep 11, 2024
1 parent dad91b2 commit 694fcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/mouseleave_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The **`mouseleave`** event is fired at an {{domxref("Element")}} when the cursor

The `mouseleave` and `mouseout` events will not be triggered when the element is replaced or removed from the DOM.

Note that "moving out of an event" refers to the element's position in the DOM tree, not to its visual position. For example, if two sibling elements are positioned so one is placed inside the other, then moving from the outer element into the inner element will trigger `mouseleave` on the outer element, even though the pointer is still in the bounds of the outer element.
Note that "moving out of an element" refers to the element's position in the DOM tree, not to its visual position. For example, if two sibling elements are positioned so one is placed inside the other, then moving from the outer element into the inner element will trigger `mouseleave` on the outer element, even though the pointer is still in the bounds of the outer element.

## Syntax

Expand Down

0 comments on commit 694fcee

Please sign in to comment.