зеркало из https://github.com/mozilla/gecko-dev.git
Bug 434002: event show isn't fired for treecol accessible, patch by Alexander Surkov <surkov.alexander@gmail.com>, r=ginn.chen, a=beltzner
This commit is contained in:
Родитель
537d867b5d
Коммит
ecb17c1898
|
@ -1528,8 +1528,8 @@ NS_IMETHODIMP nsDocAccessible::FlushPendingEvents()
|
||||||
PRBool isFromUserInput = nsAccEvent::IsFromUserInput(accessibleEvent);
|
PRBool isFromUserInput = nsAccEvent::IsFromUserInput(accessibleEvent);
|
||||||
|
|
||||||
if (domNode == gLastFocusedNode &&
|
if (domNode == gLastFocusedNode &&
|
||||||
eventType == nsIAccessibleEvent::EVENT_ASYNCH_HIDE ||
|
(eventType == nsIAccessibleEvent::EVENT_ASYNCH_HIDE ||
|
||||||
eventType == nsIAccessibleEvent::EVENT_ASYNCH_SHOW) {
|
eventType == nsIAccessibleEvent::EVENT_ASYNCH_SHOW)) {
|
||||||
// If frame type didn't change for this event, then we don't actually need to invalidate
|
// If frame type didn't change for this event, then we don't actually need to invalidate
|
||||||
// However, we only keep track of the old frame type for the focus, where it's very
|
// However, we only keep track of the old frame type for the focus, where it's very
|
||||||
// important not to destroy and recreate the accessible for minor style changes,
|
// important not to destroy and recreate the accessible for minor style changes,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче