aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorX.Y.Z <q.for.xyz@qq.com>2021-07-28 22:24:52 +0800
committerIrvin <irvinfly@gmail.com>2021-07-29 16:28:00 +0800
commit024738402ee69144693f858b4003cfba34b073df (patch)
tree8c8a011dc69cac7dafa06f92ccc2a8d7c80269af
parente537243839359ee44ecdee0a70f89ae315d4639d (diff)
downloadtranslated-content-024738402ee69144693f858b4003cfba34b073df.tar.gz
translated-content-024738402ee69144693f858b4003cfba34b073df.tar.bz2
translated-content-024738402ee69144693f858b4003cfba34b073df.zip
Correct a fatal translation error
English ver: https://developer.mozilla.org/en-US/docs/Web/API/Element/mouseenter_event#usage_notes
-rw-r--r--files/zh-cn/web/api/element/mouseenter_event/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/element/mouseenter_event/index.html b/files/zh-cn/web/api/element/mouseenter_event/index.html
index 8fd3db245d..f7f2026e73 100644
--- a/files/zh-cn/web/api/element/mouseenter_event/index.html
+++ b/files/zh-cn/web/api/element/mouseenter_event/index.html
@@ -21,7 +21,7 @@ translation_of: Web/API/Element/mouseenter_event
<div style="text-align: center;"><img alt="mouseover.png" class="default internal" src="/@api/deki/files/5909/=mouseover.png"></div>
一个单独的mouseover事件被发送到DOM树的最深层元素,然后它将层次结构向上冒泡,直到它被处理程序取消或到达根目录。</div>
-<p>对于深层次结构,发送的mouseenter事件数量可能非常大并且会导致严重的性能问题。在这种情况下,最好是监听鼠标悬停事件。(可使用chrome开发者工具选项卡中的Performance进行性能测试)</p>
+<p>对于深层次结构,发送的 *mouseover* 事件数量可能非常大并且会导致严重的性能问题。在这种情况下,最好是监听 *mouseenter* 事件。(可使用chrome开发者工具选项卡中的Performance进行性能测试)</p>
<p>结合其对称事件, <code>mouseleave</code>, mouseenter DOM事件的行为方式与CSS  {{cssxref(':hover')}} 伪类非常相似。.</p>