mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 397728 revesed logic in nsAccessible::IsValid r=aaronleventhal a=dsicore
This commit is contained in:
parent
39aaae903f
commit
ac49f8d5bc
@ -3085,7 +3085,7 @@ NS_IMETHODIMP nsAccessible::GetObject(PRInt32 aIndex,
|
||||
NS_IMETHODIMP nsAccessible::IsValid(PRBool *aIsValid)
|
||||
{
|
||||
PRUint32 state = State(this);
|
||||
*aIsValid = (state & nsIAccessibleStates::STATE_INVALID) != 0;
|
||||
*aIsValid = (0 == (state & nsIAccessibleStates::STATE_INVALID));
|
||||
// XXX In order to implement this we would need to follow every link
|
||||
// Perhaps we can get information about invalid links from the cache
|
||||
// In the mean time authors can use role="wairole:link" aaa:invalid="true"
|
||||
|
Loading…
Reference in New Issue
Block a user