зеркало из https://github.com/mozilla/gecko-dev.git
Bug 346906. GetLinkIndex not working. r=parente
This commit is contained in:
Родитель
e4ec268e27
Коммит
872b7a7986
|
@ -860,7 +860,7 @@ NS_IMETHODIMP nsHyperTextAccessible::GetLinkIndex(PRInt32 aCharIndex, PRInt32 *a
|
|||
|
||||
nsCOMPtr<nsIAccessible> accessible;
|
||||
|
||||
while (NextChild(accessible) && characterCount < aCharIndex) {
|
||||
while (NextChild(accessible) && characterCount <= aCharIndex) {
|
||||
PRUint32 role = Role(accessible);
|
||||
if (role == ROLE_TEXT_LEAF) {
|
||||
nsCOMPtr<nsPIAccessNode> accessNode(do_QueryInterface(accessible));
|
||||
|
|
Загрузка…
Ссылка в новой задаче