зеркало из https://github.com/mozilla/gecko-dev.git
Fix for 93521, Active selections are sometimes grey. This fixes a few cases where the selection color is grey, the blurred selection color, when it should be blue, or whatever the active selection color is. topembed fix. We were firing blurs in some inappropriate cases with clicks within the same document.
This commit is contained in:
Родитель
8d8031072b
Коммит
ca0eab28c7
|
@ -1507,7 +1507,8 @@ nsEventStateManager::PostHandleEvent(nsIPresContext* aPresContext,
|
|||
if (newFocus && currFrame)
|
||||
ChangeFocus(newFocus, currFrame, PR_TRUE);
|
||||
else if (!suppressBlur) {
|
||||
SetContentState(nsnull, NS_EVENT_STATE_FOCUS);
|
||||
if(gLastFocusedDocument != mDocument)
|
||||
SetContentState(nsnull, NS_EVENT_STATE_FOCUS);
|
||||
}
|
||||
|
||||
// The rest is left button-specific.
|
||||
|
|
Загрузка…
Ссылка в новой задаче