Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa

This commit is contained in:
dbaron%dbaron.org 2005-04-28 20:47:53 +00:00
parent 8b40c23c0e
commit 0bcd95a260

View File

@ -4225,6 +4225,10 @@ nsEventStateManager::ContentRemoved(nsIContent* aContent)
mDragOverContent = nsnull;
}
if (aContent == mLastMouseOverElement) {
mLastMouseOverElement = nsnull;
}
return NS_OK;
}