RAPTOR_STOPWATCH_DEBUGTRACE(("Start: nsHTMLContentSink::CloseForm()\n"));
HTMLContentSink::CloseForm(const nsIParserNode& aNode){  NS_START_STOPWATCH(mWatch)  nsresult result = NS_OK;  mCurrentContext->FlushText();  SINK_TRACE_NODE(SINK_TRACE_CALLS,                  "HTMLContentSink::CloseForm", aNode, this);  if (nsnull != mCurrentForm) {    // Check if this is a well-formed form    if (mCurrentContext->IsCurrentContainer(eHTMLTag_form)) {      result = mCurrentContext->CloseContainer(aNode);    }    else if (mCurrentContext->IsAncestorContainer(eHTMLTag_form)) {      nsIHTMLContent* parent;      result = mCurrentContext->DemoteContainer(aNode, parent);      if (NS_SUCCEEDED(result)) {        if (parent == mBody) {          NotifyBody();        }        NS_IF_RELEASE(parent);      }    }    NS_RELEASE(mCurrentForm);  }