default: break;
nsHTMLFragmentContentSink::OpenContainer(const nsIParserNode& aNode){  nsAutoString tag;  nsresult result = NS_OK;  tag = aNode.GetText();  if (tag.EqualsIgnoreCase(kSentinelStr)) {    mHitSentinel = PR_TRUE;  }  else if (mHitSentinel) {    FlushText();        nsHTMLTag nodeType = nsHTMLTag(aNode.GetNodeType());    nsIHTMLContent *content = nsnull;    result = NS_CreateHTMLElement(&content, nodeType);    if (NS_OK == result) {      result = AddAttributes(aNode, content);      if (NS_OK == result) {        nsIContent *parent = GetCurrentContent();                if (nsnull == parent) {          parent = mRoot;        }                parent->AppendChildTo(content, PR_FALSE);        PushContent(content);      }    }    switch(nodeType) {      case eHTMLTag_table:      case eHTMLTag_thead:      case eHTMLTag_tbody:      case eHTMLTag_tfoot:      case eHTMLTag_tr:      case eHTMLTag_td:      case eHTMLTag_th:        // XXX if navigator_quirks_mode (only body in html supports background)        AddBaseTagInfo(content);             break;    }  }  return result;}