mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa
This commit is contained in:
parent
8b40c23c0e
commit
0bcd95a260
@ -4225,6 +4225,10 @@ nsEventStateManager::ContentRemoved(nsIContent* aContent)
|
||||
mDragOverContent = nsnull;
|
||||
}
|
||||
|
||||
if (aContent == mLastMouseOverElement) {
|
||||
mLastMouseOverElement = nsnull;
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user