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:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user