Bug 403262. nsIAccessible::groupPositioN() does not expose the proper number of similar items in group. r=surkov, a=mtschrep

This commit is contained in:
aaronleventhal@moonset.net 2007-11-12 19:03:29 -08:00
Родитель 2fc24536d5
Коммит ef14ee78a0
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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;
}