Avoid deleting the empty attribute holder in the isindex case. rs=sicking.

--HG--
extra : rebase_source : fe35acd60c7f9bbb7512bc931288ee93338872b9
This commit is contained in:
Henri Sivonen 2009-12-21 13:38:58 +02:00
parent 7db9570a81
commit 4602a4bd81

View File

@ -1156,8 +1156,6 @@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName* elementName, nsHtml5HtmlAttribu
appendVoidElementToCurrentMayFoster(kNameSpaceID_XHTML, nsHtml5ElementName::ELT_HR, nsHtml5HtmlAttributes::EMPTY_ATTRIBUTES);
pop();
selfClosing = PR_FALSE;
delete attributes;
attributes = nsnull;
goto starttagloop_end;
}
case NS_HTML5TREE_BUILDER_TEXTAREA: {