mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 351262. Regression in DHTML state change events. r=ginn.chen, sr=neil
This commit is contained in:
parent
1d6ece10e1
commit
b1130fc931
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user