зеркало из https://github.com/mozilla/gecko-dev.git
Bug 980510 - After moving by granularity, swiping to next object brings up current object. r=eeejay
This commit is contained in:
Родитель
a250e4de47
Коммит
1f8d0085b8
|
@ -677,6 +677,13 @@ nsAccessiblePivot::AdjustStartPosition(Accessible* aAccessible,
|
|||
}
|
||||
}
|
||||
|
||||
if (aAccessible == mPosition && mStartOffset != -1 && mEndOffset != -1) {
|
||||
HyperTextAccessible* text = aAccessible->AsHyperText();
|
||||
if (text) {
|
||||
matched = text->GetChildAtOffset(mStartOffset);
|
||||
}
|
||||
}
|
||||
|
||||
return matched;
|
||||
}
|
||||
|
||||
|
|
|
@ -112,16 +112,6 @@
|
|||
toIndex: 5
|
||||
}]
|
||||
}],
|
||||
// XXX: Bug 980510: doing next after text traversal should
|
||||
// bring us to the next paragraph.
|
||||
[ContentMessages.simpleMoveNext, {
|
||||
speak: 'You\'re a good guy, mon frere. ' +
|
||||
'That means brother in French. ' +
|
||||
'I don\'t know how I know that. ' +
|
||||
'I took four years of Spanish.',
|
||||
speak_checkFunc: 'todo_is' // Bug 980510
|
||||
}],
|
||||
// XXX: extra move op here because of bug 980510.
|
||||
[ContentMessages.simpleMoveNext, {
|
||||
speak: 'You\'re a good guy, mon frere. ' +
|
||||
'That means brother in French. ' +
|
||||
|
|
Загрузка…
Ссылка в новой задаче