Bug 633483 - don't update children of container for dependent content that has an accessible, r=davidb, a=davidb

This commit is contained in:
Alexander Surkov 2011-02-11 23:05:30 +08:00
Родитель 8fff1393ed
Коммит a36de0c84e
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -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();