mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Cuddling mailnews and giving it some of my sweet sweet love. r=saari
This commit is contained in:
parent
f2f9bda8ae
commit
0e08743221
@ -1949,8 +1949,8 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
|
||||
gLastFocusedContent = mCurrentFocus;
|
||||
NS_IF_ADDREF(gLastFocusedContent);
|
||||
} else {
|
||||
notifyContent[3] = mCurrentFocus;
|
||||
NS_IF_ADDREF(mCurrentFocus);
|
||||
notifyContent[3] = gLastFocusedContent;
|
||||
NS_IF_ADDREF(gLastFocusedContent);
|
||||
SendFocusBlur(mPresContext, aContent);
|
||||
}
|
||||
}
|
||||
|
@ -1949,8 +1949,8 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
|
||||
gLastFocusedContent = mCurrentFocus;
|
||||
NS_IF_ADDREF(gLastFocusedContent);
|
||||
} else {
|
||||
notifyContent[3] = mCurrentFocus;
|
||||
NS_IF_ADDREF(mCurrentFocus);
|
||||
notifyContent[3] = gLastFocusedContent;
|
||||
NS_IF_ADDREF(gLastFocusedContent);
|
||||
SendFocusBlur(mPresContext, aContent);
|
||||
}
|
||||
}
|
||||
|
@ -50,10 +50,14 @@ iframe {
|
||||
}
|
||||
|
||||
/* focusable content */
|
||||
a, area, button, input, select, textarea {
|
||||
a, area, button, input, object, select, textarea {
|
||||
user-focus: normal;
|
||||
}
|
||||
|
||||
option {
|
||||
user-focus: none;
|
||||
}
|
||||
|
||||
/* blocks */
|
||||
|
||||
p {
|
||||
|
@ -50,10 +50,14 @@ iframe {
|
||||
}
|
||||
|
||||
/* focusable content */
|
||||
a, area, button, input, select, textarea {
|
||||
a, area, button, input, object, select, textarea {
|
||||
user-focus: normal;
|
||||
}
|
||||
|
||||
option {
|
||||
user-focus: none;
|
||||
}
|
||||
|
||||
/* blocks */
|
||||
|
||||
p {
|
||||
|
Loading…
Reference in New Issue
Block a user