Bug 309637. Accessible show/hide events for XUL progressbar should be symmetrical. r=parente, sr=neil

This commit is contained in:
aaronleventhal%moonset.net 2005-09-26 18:10:36 +00:00
parent c112919017
commit debbcf98eb

View File

@ -994,11 +994,7 @@ void nsDocAccessible::RefreshNodes(nsIDOMNode *aStartNode, PRUint32 aChangeEvent
event = nsIAccessibleEvent::EVENT_HIDE;
}
if (event) {
PRUint32 state;
accessible->GetFinalState(&state);
if (0 == (state & STATE_INVISIBLE)) {
FireToolkitEvent(event, accessible, nsnull);
}
FireToolkitEvent(event, accessible, nsnull);
}
}
}