mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
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:
parent
8d8031072b
commit
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.
|
||||
|
Loading…
Reference in New Issue
Block a user