diff --git a/content/events/src/nsEventStateManager.cpp b/content/events/src/nsEventStateManager.cpp index 118ed0c20c2..e9fef826b24 100644 --- a/content/events/src/nsEventStateManager.cpp +++ b/content/events/src/nsEventStateManager.cpp @@ -4225,6 +4225,10 @@ nsEventStateManager::ContentRemoved(nsIContent* aContent) mDragOverContent = nsnull; } + if (aContent == mLastMouseOverElement) { + mLastMouseOverElement = nsnull; + } + return NS_OK; }