mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
Bug 403262. nsIAccessible::groupPositioN() does not expose the proper number of similar items in group. r=surkov, a=mtschrep
This commit is contained in:
parent
2fc24536d5
commit
ef14ee78a0
@ -186,7 +186,8 @@ interface nsIAccessible : nsISupports
|
||||
* labels, radio buttons, etc. Also used for collectons of non-text objects.
|
||||
*
|
||||
* @param groupLevel - 1-based, similar to ARIA 'level' property
|
||||
* @param similarItemsInGroup - 1-based, similar to ARIA 'setsize' property
|
||||
* @param similarItemsInGroup - 1-based, similar to ARIA 'setsize' property,
|
||||
* inclusive of the current item
|
||||
* @param positionInGroup - 1-based, similar to ARIA 'posinset' property
|
||||
*/
|
||||
void groupPosition(out long aGroupLevel, out long aSimilarItemsInGroup,
|
||||
|
@ -2206,7 +2206,7 @@ nsAccessible::GroupPosition(PRInt32 *aGroupLevel,
|
||||
*aGroupLevel = level;
|
||||
|
||||
*aPositionInGroup = posInSet;
|
||||
*aSimilarItemsInGroup = setSize - 1;
|
||||
*aSimilarItemsInGroup = setSize;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user