зеркало из https://github.com/mozilla/gecko-dev.git
Bug 403262. nsIAccessible::groupPositioN() does not expose the proper number of similar items in group. r=surkov, a=mtschrep
This commit is contained in:
Родитель
2fc24536d5
Коммит
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче