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;
SinkContext::AddLeaf(nsIHTMLContent* aContent){  NS_ASSERTION(mStackPos > 0, "leaf w/o container");  nsIHTMLContent* parent = mStack[mStackPos-1].mContent;  parent->AppendChildTo(aContent, PR_FALSE);  // Mark sink dirty if it can safely reflow something  MaybeMarkSinkDirty();#ifdef DEBUG  if (mPreAppend && mSink->mDirty &&      SINK_LOG_TEST(gSinkLogModuleInfo,SINK_ALWAYS_REFLOW)) {    mSink->ForceReflow();  }#endif  return NS_OK;}