Bug 351262. Regression in DHTML state change events. r=ginn.chen, sr=neil

This commit is contained in:
aaronleventhal%moonset.net 2006-09-04 20:44:56 +00:00
parent 1d6ece10e1
commit b1130fc931

View File

@ -825,7 +825,7 @@ nsDocAccessible::AttributeChanged(nsIDocument *aDocument, nsIContent* aContent,
}
else if (aNameSpaceID == kNameSpaceID_WAIProperties) {
// DHTML accessibility attributes
if (HasRoleAttribute(aContent)) {
if (!HasRoleAttribute(aContent)) {
// We don't care about DHTML state changes unless there is
// a DHTML role set for the element
return;