mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
TextAreas now initialize their content area using default text specified in
the HTML File.
This commit is contained in:
parent
034a3ff9b8
commit
d71b7f88d5
@ -474,6 +474,7 @@ nsTextControlFrame::PostCreateWidget(nsIPresContext* aPresContext,
|
||||
}
|
||||
NS_RELEASE(text);
|
||||
} else if (NS_OK == mWidget->QueryInterface(kITextAreaWidgetIID,(void**)&textArea)) {
|
||||
GetText(&value, PR_TRUE);
|
||||
textArea->SetText(value, ignore);
|
||||
NS_RELEASE(textArea);
|
||||
}
|
||||
|
@ -474,6 +474,7 @@ nsTextControlFrame::PostCreateWidget(nsIPresContext* aPresContext,
|
||||
}
|
||||
NS_RELEASE(text);
|
||||
} else if (NS_OK == mWidget->QueryInterface(kITextAreaWidgetIID,(void**)&textArea)) {
|
||||
GetText(&value, PR_TRUE);
|
||||
textArea->SetText(value, ignore);
|
||||
NS_RELEASE(textArea);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user