mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 04:41:54 +00:00
Fixed bug in handling of textarea that caused them to terminate documents
This commit is contained in:
parent
5bf6207892
commit
3ff0090bfa
@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
|
||||
case eHTMLTag_textarea:
|
||||
{
|
||||
const nsString& content = aNode.GetSkippedContent();
|
||||
nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
|
||||
rv = NS_NewHTMLTextArea(aResult, atom, aForm);
|
||||
if (NS_OK == rv) {
|
||||
// If the text area has some content, give it to it now
|
||||
if (content.Length() > 0) {
|
||||
|
@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
|
||||
case eHTMLTag_textarea:
|
||||
{
|
||||
const nsString& content = aNode.GetSkippedContent();
|
||||
nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
|
||||
rv = NS_NewHTMLTextArea(aResult, atom, aForm);
|
||||
if (NS_OK == rv) {
|
||||
// If the text area has some content, give it to it now
|
||||
if (content.Length() > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user