Bug 311460. Accevent failing for options in closed combo box. Also fixes bug 310377, AccessibleObjectFromPoint not working in multiple tabs. r=parente, sr=jst, a=asa

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181965 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net
2005-10-11 02:19:24 +00:00
parent 510045b0f5
commit ea3aedfec0

View File

@@ -1848,8 +1848,7 @@ NS_IMETHODIMP nsAccessibilityService::GetAccessible(nsIDOMNode *aNode,
}
// Check frame to see if it is hidden
if (!frame || !frame->GetStyleVisibility()->IsVisible() ||
!frame->AreAncestorViewsVisible()) {
if (!frame || !frame->GetStyleVisibility()->IsVisible()) {
*aIsHidden = PR_TRUE;
}