Bug 83394: Tabindex attribute not working properly in mfcembed app''.
Fixes problems with tabbing from the document to elements with the index attribute set in both mfcembed and the regular browser app. patch by bryner, r=jag, sr=hyatt, a=chofmann git-svn-id: svn://10.0.0.236/trunk@97768 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2698,7 +2698,6 @@ nsDocShell::SetFocus()
|
||||
// Either focus the document or the "first" piece of content
|
||||
if (doFocusDoc) {
|
||||
esm->SetContentState(nsnull, NS_EVENT_STATE_FOCUS);
|
||||
esm->SetSpecialTopOfDoc(PR_TRUE);
|
||||
} else {
|
||||
nsCOMPtr<nsIContent> content;
|
||||
esm->GetNextTabbableIndexContent(rootContent, PR_TRUE, PR_TRUE, getter_AddRefs(content));
|
||||
|
||||
Reference in New Issue
Block a user