зеркало из https://github.com/mozilla/pjs.git
Bug 406010 - AT-SPI SHOWING and VISIBLE issues on documents, patch=ginn.chen, r=aaronlev, a=mtschrep
This commit is contained in:
Родитель
7a7a17051d
Коммит
3f9c835166
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче