Backed out changeset 8c1f9996a7d6 (bug 906116)

This commit is contained in:
Carsten "Tomcat" Book
2016-07-06 05:40:06 +02:00
parent 8456942611
commit de5949e087
9 changed files with 17 additions and 17 deletions

View File

@@ -343,11 +343,11 @@ HTMLImageElement::GetAttributeChangeHint(const nsIAtom* aAttribute,
nsGenericHTMLElement::GetAttributeChangeHint(aAttribute, aModType);
if (aAttribute == nsGkAtoms::usemap ||
aAttribute == nsGkAtoms::ismap) {
retval |= nsChangeHint_ReconstructFrame;
retval |= NS_STYLE_HINT_FRAMECHANGE;
} else if (aAttribute == nsGkAtoms::alt) {
if (aModType == nsIDOMMutationEvent::ADDITION ||
aModType == nsIDOMMutationEvent::REMOVAL) {
retval |= nsChangeHint_ReconstructFrame;
retval |= NS_STYLE_HINT_FRAMECHANGE;
}
}
return retval;