Cuddling mailnews and giving it some of my sweet sweet love. r=saari

This commit is contained in:
hyatt%netscape.com 2000-04-12 00:24:07 +00:00
parent f2f9bda8ae
commit 0e08743221
4 changed files with 14 additions and 6 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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 {

View File

@ -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 {