Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa
This commit is contained in:
Родитель
5b5507cd04
Коммит
c5fbc00351
|
@ -4225,6 +4225,10 @@ nsEventStateManager::ContentRemoved(nsIContent* aContent)
|
|||
mDragOverContent = nsnull;
|
||||
}
|
||||
|
||||
if (aContent == mLastMouseOverElement) {
|
||||
mLastMouseOverElement = nsnull;
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче