mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980510 - After moving by granularity, swiping to next object brings up current object. r=eeejay
This commit is contained in:
parent
4489da0353
commit
260d99142e
@ -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;
|
return matched;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,16 +112,6 @@
|
|||||||
toIndex: 5
|
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, {
|
[ContentMessages.simpleMoveNext, {
|
||||||
speak: 'You\'re a good guy, mon frere. ' +
|
speak: 'You\'re a good guy, mon frere. ' +
|
||||||
'That means brother in French. ' +
|
'That means brother in French. ' +
|
||||||
|
Loading…
Reference in New Issue
Block a user