Fixed bug in handling of textarea that caused them to terminate documents
git-svn-id: svn://10.0.0.236/trunk@9338 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user