if (aAttribute == nsHTMLAtoms::style) {   aAffects = PR_TRUE; return NS_OK; }
FrameManager::AttributeAffectsStyle(nsIAtom *aAttribute, nsIContent *aContent,                                    PRBool &aAffects){  nsresult rv = NS_OK;  NS_ENSURE_TRUE(mPresShell, NS_ERROR_NOT_AVAILABLE);  nsCOMPtr<nsIXMLContent> xml(do_QueryInterface(aContent));  if (xml) {    rv = mStyleSet->AttributeAffectsStyle(aAttribute, aContent, aAffects);  } else {    // not an XML element, so assume it is an HTML element and further assume that    // any attribute may affect style    // NOTE: we could list all of the presentation-hint attributes and check them,    //       but there are a lot of them and this is safer.    aAffects = PR_TRUE;    rv = NS_OK;  }  return rv;}