if (aAttribute == nsHTMLAtoms::label) { aHint = NS_STYLE_HINT_REFLOW; } else if (aAttribute == nsHTMLAtoms::text) { aHint = NS_STYLE_HINT_REFLOW; } else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) { aHint = NS_STYLE_HINT_CONTENT; }
static const AttributeImpactEntry attributes[] = { { &nsHTMLAtoms::label, NS_STYLE_HINT_REFLOW }, { &nsHTMLAtoms::text, NS_STYLE_HINT_REFLOW }, { nsnull, NS_STYLE_HINT_NONE } };  static const AttributeImpactEntry* const map[] = { attributes, sCommonAttributeMap, };  FindAttributeImpact(aAttribute, aHint, map, NS_ARRAY_LENGTH(map));
nsHTMLOptionElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, PRInt32 aModType,                                              nsChangeHint& aHint) const{  nsIFormControlFrame* fcFrame = GetSelectFrame();    if (fcFrame) {        if (aAttribute == nsHTMLAtoms::label) {      aHint = NS_STYLE_HINT_REFLOW;     } else if (aAttribute == nsHTMLAtoms::text) {      aHint = NS_STYLE_HINT_REFLOW;     } else if (!GetCommonMappedAttributesImpact(aAttribute, aHint)) {      aHint = NS_STYLE_HINT_CONTENT;    }  } else {    if (aAttribute == nsXULAtoms::menuactive) {      aHint = NS_STYLE_HINT_CONTENT;    } else {      aHint = NS_STYLE_HINT_NONE;    }  }  return NS_OK;}