case eHTMLTag_base: mCurrentContext->FlushText(); rv = ProcessBASETag(aNode); break;  case eHTMLTag_link: mCurrentContext->FlushText(); rv = ProcessLINKTag(aNode); break;  case eHTMLTag_meta: mCurrentContext->FlushText(); rv = ProcessMETATag(aNode); break;  case eHTMLTag_style: mCurrentContext->FlushText(); rv = ProcessSTYLETag(aNode); break;  case eHTMLTag_script: mCurrentContext->FlushText(); rv = ProcessSCRIPTTag(aNode); break;  default: rv = mCurrentContext->AddLeaf(aNode); break; } return rv;
return NS_OK;
HTMLContentSink::AddLeaf(const nsIParserNode& aNode){  nsresult rv;  nsHTMLTag nodeType = nsHTMLTag(aNode.GetNodeType());  switch (nodeType) {  case eHTMLTag_area:    rv = ProcessAREATag(aNode);    break;  case eHTMLTag_base:    mCurrentContext->FlushText();    rv = ProcessBASETag(aNode);    break;  case eHTMLTag_link:    mCurrentContext->FlushText();    rv = ProcessLINKTag(aNode);    break;  case eHTMLTag_meta:    mCurrentContext->FlushText();    rv = ProcessMETATag(aNode);    break;  case eHTMLTag_style:    mCurrentContext->FlushText();    rv = ProcessSTYLETag(aNode);    break;  case eHTMLTag_script:    mCurrentContext->FlushText();    rv = ProcessSCRIPTTag(aNode);    break;  default:    rv = mCurrentContext->AddLeaf(aNode);    break;  }  return rv;}