Bug 241064. Don't use state_unavailable on objects unless their greyed/disabled. r=Louie.Zhao, sr=Henry.Jia

This commit is contained in:
aaronleventhal%moonset.net 2004-06-09 12:50:53 +00:00
parent 657cc8d983
commit b4450c6332
2 changed files with 0 additions and 2 deletions

View File

@ -92,7 +92,6 @@ NS_IMETHODIMP nsOuterDocAccessible::GetState(PRUint32 *aState)
{
nsAccessible::GetState(aState);
*aState &= ~STATE_FOCUSABLE;
*aState |= STATE_UNAVAILABLE;
return NS_OK;
}

View File

@ -154,7 +154,6 @@ NS_IMETHODIMP nsXULTabBoxAccessible::GetState(PRUint32 *_retval)
{
nsAccessible::GetState(_retval);
*_retval &= ~STATE_FOCUSABLE;
*_retval |= STATE_UNAVAILABLE;
return NS_OK;
}