mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 309637. Accessible show/hide events for XUL progressbar should be symmetrical. r=parente, sr=neil
This commit is contained in:
parent
c112919017
commit
debbcf98eb
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user