зеркало из https://github.com/mozilla/pjs.git
Bug 633483 - don't update children of container for dependent content that has an accessible, r=davidb, a=davidb
This commit is contained in:
Родитель
8fff1393ed
Коммит
a36de0c84e
|
@ -1462,11 +1462,12 @@ nsDocAccessible::NotifyOfCachingEnd(nsAccessible* aAccessible)
|
|||
// invalidation list.
|
||||
for (PRUint32 idx = 0; idx < mInvalidationList.Length(); idx++) {
|
||||
nsIContent* content = mInvalidationList[idx];
|
||||
nsAccessible* container = GetContainerAccessible(content);
|
||||
|
||||
// Make sure we keep children updated. While we're inside of caching loop
|
||||
// then we must exist it with cached children.
|
||||
container->UpdateChildren();
|
||||
if (!HasAccessible(content)) {
|
||||
// Make sure we keep children updated. While we're inside of caching
|
||||
// loop then we must exist it with cached children.
|
||||
nsAccessible* container = GetContainerAccessible(content);
|
||||
container->UpdateChildren();
|
||||
}
|
||||
}
|
||||
mInvalidationList.Clear();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче