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:
jaggernaut%netscape.com
2001-06-22 07:25:28 +00:00
parent 14356aacc0
commit 7d9b30ae3a
4 changed files with 16 additions and 35 deletions

View File

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