if ((aAttribute == nsHTMLAtoms::align) || (aAttribute == nsHTMLAtoms::valign) || (aAttribute == nsHTMLAtoms::height)) { aHint = NS_STYLE_HINT_REFLOW; } else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) { if (!GetBackgroundAttributesImpact(aAttribute, aHint)) { aHint = NS_STYLE_HINT_CONTENT; } }
static const AttributeImpactEntry attributes[] = { { &nsHTMLAtoms::align, NS_STYLE_HINT_REFLOW }, { &nsHTMLAtoms::valign, NS_STYLE_HINT_REFLOW }, { &nsHTMLAtoms::height, NS_STYLE_HINT_REFLOW }, { nsnull, NS_STYLE_HINT_NONE } };
nsHTMLTableSectionElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, PRInt32 aModType,                                                    nsChangeHint& aHint) const{  if ((aAttribute == nsHTMLAtoms::align) ||       (aAttribute == nsHTMLAtoms::valign) ||      (aAttribute == nsHTMLAtoms::height)) {    aHint = NS_STYLE_HINT_REFLOW;  }  else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) {    if (!GetBackgroundAttributesImpact(aAttribute, aHint)) {      aHint = NS_STYLE_HINT_CONTENT;    }  }  return NS_OK;}