зеркало из https://github.com/mozilla/gecko-dev.git
Bug 406010 - AT-SPI SHOWING and VISIBLE issues on documents, patch=ginn.chen, r=aaronlev, a=mtschrep
This commit is contained in:
Родитель
217d643ed4
Коммит
64f94b11db
|
@ -246,10 +246,10 @@ nsDocAccessible::GetState(PRUint32 *aState, PRUint32 *aExtraState)
|
|||
frame = frame->GetParent();
|
||||
}
|
||||
|
||||
if (frame != nsnull) {
|
||||
if (!CheckVisibilityInParentChain(mDocument, frame->GetViewExternal())) {
|
||||
*aState |= nsIAccessibleStates::STATE_INVISIBLE;
|
||||
}
|
||||
if (frame == nsnull ||
|
||||
!CheckVisibilityInParentChain(mDocument, frame->GetViewExternal())) {
|
||||
*aState |= nsIAccessibleStates::STATE_INVISIBLE |
|
||||
nsIAccessibleStates::STATE_OFFSCREEN;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIEditor> editor;
|
||||
|
|
Загрузка…
Ссылка в новой задаче