if ((aTag == nsHTMLAtoms::img) || (aTag == nsHTMLAtoms::form) || (aTag == nsHTMLAtoms::applet) || (aTag == nsHTMLAtoms::embed) || (aTag == nsHTMLAtoms::object)) {
if (aTag == nsHTMLAtoms::img    || aTag == nsHTMLAtoms::form   || aTag == nsHTMLAtoms::applet || aTag == nsHTMLAtoms::embed  || aTag == nsHTMLAtoms::object) {
IsNamedItem(nsIContent* aContent, nsIAtom *aTag, nsAWritableString& aName){  // Only the content types reflected in Level 0 with a NAME  // attribute are registered. Images, layers and forms always get   // reflected up to the document. Applets and embeds only go  // to the closest container (which could be a form).  if ((aTag == nsHTMLAtoms::img) || (aTag == nsHTMLAtoms::form) ||      (aTag == nsHTMLAtoms::applet) || (aTag == nsHTMLAtoms::embed) ||      (aTag == nsHTMLAtoms::object)) {    aContent->GetAttr(kNameSpaceID_None, nsHTMLAtoms::name, aName);    if (!aName.IsEmpty()) {      return PR_TRUE;    }  }  return PR_FALSE;}