mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug 241064. Don't use state_unavailable on objects unless their greyed/disabled. r=Louie.Zhao, sr=Henry.Jia
This commit is contained in:
parent
657cc8d983
commit
b4450c6332
@ -92,7 +92,6 @@ NS_IMETHODIMP nsOuterDocAccessible::GetState(PRUint32 *aState)
|
||||
{
|
||||
nsAccessible::GetState(aState);
|
||||
*aState &= ~STATE_FOCUSABLE;
|
||||
*aState |= STATE_UNAVAILABLE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,6 @@ NS_IMETHODIMP nsXULTabBoxAccessible::GetState(PRUint32 *_retval)
|
||||
{
|
||||
nsAccessible::GetState(_retval);
|
||||
*_retval &= ~STATE_FOCUSABLE;
|
||||
*_retval |= STATE_UNAVAILABLE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user