Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)

This commit is contained in:
Neil Deakin
2009-06-10 14:00:39 -04:00
parent 66b8500cf2
commit f62906b6b1
139 changed files with 7382 additions and 6804 deletions

View File

@@ -243,13 +243,6 @@ NS_QUERYFRAME_TAIL_INHERITING(nsBlockFrame)
void
nsFileControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
{
// Fix for Bug 6133
if (mTextFrame) {
nsIContent* content = mTextFrame->GetContent();
if (content) {
content->SetFocus(PresContext());
}
}
}
/**