rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);
rv = NS_NewImageControlFrame(aContent, aParentFrame, aFrame);
HTMLStyleSheetImpl::CreateInputFrame(nsIContent* aContent,                                     nsIFrame*   aParentFrame,                                     nsIFrame*&  aFrame){  nsresult  rv;  // Figure out which type of input frame to create  nsAutoString  val;  if (NS_OK == aContent->GetAttribute(nsAutoString("type"), val)) {    if (val.EqualsIgnoreCase("submit")) {      rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("reset")) {      rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("button")) {      rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("checkbox")) {      rv = NS_NewCheckboxControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("file")) {      rv = NS_NewFileControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("hidden")) {      rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("image")) {      rv = NS_NewButtonControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("password")) {      rv = NS_NewTextControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("radio")) {      rv = NS_NewRadioControlFrame(aContent, aParentFrame, aFrame);    }    else if (val.EqualsIgnoreCase("text")) {      rv = NS_NewTextControlFrame(aContent, aParentFrame, aFrame);    }    else {      rv = NS_NewTextControlFrame(aContent, aParentFrame, aFrame);    }  } else {    rv = NS_NewTextControlFrame(aContent, aParentFrame, aFrame);  }  return rv;}